Hello Steve Carlin, Michael Smith,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/25025
to review the following change.
Change subject: IMPALA-15487: Fix zero-precision DECIMAL truncation in Original
planner
......................................................................
IMPALA-15487: Fix zero-precision DECIMAL truncation in Original planner
Reserve one digit for zero when TRUNC, TRUNCATE or DTRUNC removes all
fractional digits. Preserve positive-scale and ROUND/DROUND inference.
Validation: four focused FE tests and 176 Original HS2 checks across DECIMAL
V1/V2 with codegen off/on.
Change-Id: I1076caaf278038e37aa7c036dc87f4a81d89746c
Assisted-by: GPT-6 (Codex)
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeExprsTest.java
2 files changed, 41 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/25025/1
--
To view, visit http://gerrit.cloudera.org:8080/25025
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1076caaf278038e37aa7c036dc87f4a81d89746c
Gerrit-Change-Number: 25025
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>