Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
Description
The following query return wrong results, there is a difference in actual vs expected results. Expected results were generated on Postgres 9.3
SELECT SUM(cast( columns[1] as BIGINT )) OVER(PARTITION BY cast( columns[2] as CHAR(2))) FROM `allData.csv`;
Attachments
Attachments
Issue Links
- is a clone of
-
DRILL-3277 SUM(CAST(columns[0] AS INT)) OVER(...) gives wrong results
- Closed
- is part of
-
DRILL-2015 Casting numeric value that does not fit in integer data type produces incorrect result
- Open