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


Change subject: IMPALA-14201: Calcite planner: Not catching erroneous casts.
......................................................................

IMPALA-14201: Calcite planner: Not catching erroneous casts.

The cast from date to int was succeeding and returning a null row.

With this commit, a check is done to make sure the cast function
signature exists.

Change-Id: Ic8e4bf1e65916cd128fd0bd75c39be5d7834c954
---
M fe/src/main/java/org/apache/impala/analysis/CastExpr.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/functions/RexCallConverter.java
M testdata/workloads/functional-query/queries/QueryTest/calcite.test
3 files changed, 38 insertions(+), 16 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/23125/1
--
To view, visit http://gerrit.cloudera.org:8080/23125
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8e4bf1e65916cd128fd0bd75c39be5d7834c954
Gerrit-Change-Number: 23125
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>

Reply via email to