Hello Aman Sinha, Joe McDonnell, Michael Smith, Impala Public Jenkins,

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

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

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

Change subject: IMPALA-13522: Calcite Planner: Treat the "real" type as double
......................................................................

IMPALA-13522: Calcite Planner: Treat the "real" type as double

Real type was being treated as a float. E2E test can be found in
exprs.test where there is a cast to real. Specifically, this test...

select count(*) from alltypesagg
where double_col >= 20.2
and cast(double_col as double) = cast(double_col as real)

... was casting double_col as a double and returning the wrong result
previous to this commit.

Change-Id: I5f3cc0e50a4dfc0e28f39d81b591c1b458fd59ce
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/type/ImpalaTypeConverter.java
1 file changed, 2 insertions(+), 2 deletions(-)


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5f3cc0e50a4dfc0e28f39d81b591c1b458fd59ce
Gerrit-Change-Number: 22087
Gerrit-PatchSet: 3
Gerrit-Owner: Steve Carlin <[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]>

Reply via email to