Hello Quanlong Huang, Aman Sinha, Zoltan Borok-Nagy, Joe McDonnell, Michael
Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25392
to look at the new patch set (#2).
Change subject: IMPALA-15760: Calcite Planner: Exponents above 38 do not parse
......................................................................
IMPALA-15760: Calcite Planner: Exponents above 38 do not parse
The wrong Impala function was being called to derive the type
for exponent expressions.
The TypesUtil.computeDecimalType(bd) is wrapped by
NumericLiteral.inferType(bd). The NumericLiteral method returns
a DOUBLE type when the exponent is out of range for Decimal.
Testing: Added test to calcite.test
Change-Id: I636a374d9ea30582f57eccea6635eed2651489a5
---
M java/calcite-planner/src/main/codegen/templates/Parser.jj
M testdata/workloads/functional-query/queries/QueryTest/calcite.test
2 files changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/25392/2
--
To view, visit https://gerrit.cloudera.org/25392
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I636a374d9ea30582f57eccea6635eed2651489a5
Gerrit-Change-Number: 25392
Gerrit-PatchSet: 2
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]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>