Hello Quanlong Huang, Aman Sinha, Aleksandr Efimov, Joe McDonnell, Michael 
Smith, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24260

to look at the new patch set (#4).

Change subject: IMPALA-14946: Catch "trunc" error within Calcite planner
......................................................................

IMPALA-14946: Catch "trunc" error within Calcite planner

For the following query:

select dayofyear(trunc('2014-11-11', string_col))
from functional.alltypestiny limit 1;

...the Calcite planner now throws the same exception as the original
planner does. Previous to this commit, a java exception was being
thrown. This allows the test framework to match error messages when
there is no fallback planner.

Change-Id: I766c138fae027ba0d919daa5cce38dc93d7144d1
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaAdjustScaleFunction.java
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
2 files changed, 22 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/24260/4
--
To view, visit http://gerrit.cloudera.org:8080/24260
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I766c138fae027ba0d919daa5cce38dc93d7144d1
Gerrit-Change-Number: 24260
Gerrit-PatchSet: 4
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aman Sinha <[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]>

Reply via email to