We're updating the issue view to help you get more done. 

SQL Backend: The Average query operator expects a double value to be returned from the database, but the generated SQL returns an integer

Description

Sample query:

If OrderNumber is of type int or long, the Average query operator method should return a double value (as the average value might not be a cardinal number). However, re-linq simply generates the following SQL:

This is wrong because SQL's AVG returns an integer if the expression passed to it is of integer type.

This should be changed to emit the following SQL:

Assignee

Fabian Schmied

Reporter

User known

Labels

Time tracking

0m

Components

Fix versions

Priority

Normal
Configure