Steve Carlin has uploaded this change for review. ( 
https://gerrit.cloudera.org/25603


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.

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, 25 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/03/25603/1
--
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: newchange
Gerrit-Change-Id: I8beb958dde6bc7ef5389af00285f059b09f0e37b
Gerrit-Change-Number: 25603
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <[email protected]>

Reply via email to