Aman Sinha has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21961 )

Change subject: IMPALA-13468: Fix various aggregation issues in aggregation.test
......................................................................


Patch Set 5:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/21961/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaAggOperator.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaAggOperator.java:

http://gerrit.cloudera.org:8080/#/c/21961/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaAggOperator.java@32
PS3, Line 32: ImpalaAggOpera
> Bad cut and paste.  No, ImpalaAggOperator needs to extend SqlAggFunction fo
Done


http://gerrit.cloudera.org:8080/#/c/21961/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaMinMaxAggFunction.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaMinMaxAggFunction.java:

http://gerrit.cloudera.org:8080/#/c/21961/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaMinMaxAggFunction.java@45
PS3, Line 45:         return ImpalaTypeConverter.getRelDataType(Type.BOOLEAN);
> Having NULL return boolean allows a specific test to pass.
I still didn't get this and why this is needed for the MIN/MAX function to 
return a boolean. Can you point to the test that expects this ?


http://gerrit.cloudera.org:8080/#/c/21961/3/java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaMinMaxAggFunction.java@58
PS3, Line 58:       SqlCallBinding callBinding,
> The inferReturnType for timestamp is able to return a timestamp. I'd imagin
Done



--
To view, visit http://gerrit.cloudera.org:8080/21961
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I038127d6a2f228ae8d263e983b1906e99ae05f77
Gerrit-Change-Number: 21961
Gerrit-PatchSet: 5
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Wed, 23 Oct 2024 17:36:03 +0000
Gerrit-HasComments: Yes

Reply via email to