Hello Quanlong Huang, Aman Sinha, Fang-Yu Rao, Joe McDonnell, Michael Smith,
Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25603
to look at the new patch set (#2).
Change subject: IMPALA-15877: Calcite planner: fix crash for variance/stddev
......................................................................
IMPALA-15877: Calcite planner: fix crash for variance/stddev
Fixed a crash for variance and stddev. Calcite defines these
functions with return type decimal. Impala defines them as double.
Need to mark these as Impala operators in the Impala operator
table.
The var_pop and var_samp functions do not exist in Calcite
so those do not need to be overridden.
Testing: Added tests for functions that caused crash.
Change-Id: I8beb958dde6bc7ef5389af00285f059b09f0e37b
---
M
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaOperatorTable.java
M testdata/workloads/functional-query/queries/QueryTest/calcite.test
2 files changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/03/25603/2
--
To view, visit https://gerrit.cloudera.org/25603
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8beb958dde6bc7ef5389af00285f059b09f0e37b
Gerrit-Change-Number: 25603
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>