Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
select min(employee_id), max(employee_id) from cp.`employee.json`;
----------------------+
EXPR$0 | EXPR$1 |
----------------------+
1 | 1 |
----------------------+
In the above query we return the same result for both Min and Max. This seems to be related to multi phase aggregate not picking the correct ordinal.