Zoltan Borok-Nagy has posted comments on this change. ( https://gerrit.cloudera.org/25233 )
Change subject: IMPALA-15695: Coerce BOOLEAN inputs to SUM ...................................................................... Patch Set 1: Code-Review+2 (1 comment) LGTM! https://gerrit.cloudera.org/#/c/25233/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/type/ImpalaTypeCoercionImpl.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/type/ImpalaTypeCoercionImpl.java: https://gerrit.cloudera.org/#/c/25233/1/java/calcite-planner/src/main/java/org/apache/impala/calcite/type/ImpalaTypeCoercionImpl.java@54 PS1, Line 54: SqlKind.SUM > AVG, STDDEV and VARIANCE on BOOLEAN fail the same way in Calcite, while the Filed IMPALA-15815 to track this separately. Most other engines reject AVG/STDDEV/VARIANCE(bool), so it's probably a minor issue. -- To view, visit https://gerrit.cloudera.org/25233 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I4be510a6674d1c006e88ddaad4d4e3a7a40df4f6 Gerrit-Change-Number: 25233 Gerrit-PatchSet: 1 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Tue, 17 Nov 2026 10:48:30 +0000 Gerrit-HasComments: Yes
