Hello Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25420
to look at the new patch set (#2).
Change subject: Arrow Converter: expect arrow decimal type for impala decimal
......................................................................
Arrow Converter: expect arrow decimal type for impala decimal
Changed Arrow Converter to accept arrow decimals instead of arrow
binaries to convert to impala decimals.
Previously, converting to an impala decimal required an arrow binary,
as decimals were encoded into arrow binary arrays from paimon data.
After the change, converting to an impala requires an arrow decimal.
Removed the overrides for paimon that converted the values to binaries
in arrow. By keeping the default, paimon now provides arrays of
decimal128's, which pass the converter.
The scale of the arrow type and impala type has to be the same, and the
arrow type's precision has to be at most the impala type's precision for
the conversion to pass. Otherwise, it returns an error.
Testing:
-rewrote arrow-converter-test.cc to test passing and failing cases
-paimon tests passed
Change-Id: Ibe2c5d2067b8e20ada95ced54f859218558aa07d
Assisted-by: Claude Opus 5.5 (GitHub Copilot)
---
M be/src/exec/arrow-converter-test.cc
M be/src/exec/arrow-converter.cc
D
fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFieldTypeFactory.java
D
fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFieldWriterFactory.java
M fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFormatWriter.java
5 files changed, 79 insertions(+), 193 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/20/25420/2
--
To view, visit https://gerrit.cloudera.org/25420
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibe2c5d2067b8e20ada95ced54f859218558aa07d
Gerrit-Change-Number: 25420
Gerrit-PatchSet: 2
Gerrit-Owner: Balazs Hevele <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>