Impala Public Jenkins has submitted this change and it was merged. ( https://gerrit.cloudera.org/25392 )
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) returns null when the decimal is out of range. When this happens, an approximate type (DOUBLE) is created. Testing: Added test to calcite.test Change-Id: I636a374d9ea30582f57eccea6635eed2651489a5 Reviewed-on: https://gerrit.cloudera.org/25392 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M java/calcite-planner/src/main/codegen/templates/Parser.jj M testdata/workloads/functional-query/queries/QueryTest/calcite.test 2 files changed, 11 insertions(+), 1 deletion(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I636a374d9ea30582f57eccea6635eed2651489a5 Gerrit-Change-Number: 25392 Gerrit-PatchSet: 5 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: Steve Carlin <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
