Steve Carlin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24709


Change subject: IMPALA-15269: Decimal operands in comparisons do not need 
casting
......................................................................

IMPALA-15269: Decimal operands in comparisons do not need casting

In the Calcite planner, we need to avoid the casting of decimal operands
in binary comparisons. Before this commit, a query failed because it
could not find a compatible decimal to dec(22,8) and dec(36,35).

Testing: Ran e2e suite with Calcite planner on to make sure there
were no wrong results.

Change-Id: I226e4a7d105e963f3263fb8a71acb5fdef7ffa94
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaConvertletTable.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaCustomOperatorTable.java
M testdata/workloads/functional-query/queries/QueryTest/calcite.test
3 files changed, 98 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/09/24709/3
--
To view, visit http://gerrit.cloudera.org:8080/24709
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I226e4a7d105e963f3263fb8a71acb5fdef7ffa94
Gerrit-Change-Number: 24709
Gerrit-PatchSet: 3
Gerrit-Owner: Steve Carlin <[email protected]>

Reply via email to