-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.14.0
-
Component/s: None
-
Labels:None
For example, return types of AVG() is the input type. So, if the input is INT/BIGINT type, AVG() is always truncated. Depending on the database, some database follow this behavior while others (e.g. Oracle/MySQL/etc.) do not and return floating point values for AVG().
Similar for other functions mentioned here.
- relates to
-
CALCITE-2030 Aggregates executed against PostgreSQL DECIMAL columns perform lossy casts
-
- Open
-