Balazs Hevele has posted comments on this change. ( 
https://gerrit.cloudera.org/25420 )

Change subject: IMPALA-14882: Arrow Converter: expect arrow decimal type for 
impala decimal
......................................................................


Patch Set 3:

(2 comments)

Also added some decimal-related e2e tests to paimon-query.test

https://gerrit.cloudera.org/#/c/25420/2/be/src/exec/arrow-converter-test.cc
File be/src/exec/arrow-converter-test.cc:

https://gerrit.cloudera.org/#/c/25420/2/be/src/exec/arrow-converter-test.cc@377
PS2, Line 377:           arrow::decimal256(38, 10), 38, 10, with_nulls),
> How about adding a test case with precision > 38?
Impala's decimals can only be up to precision of 38 (see MAX_PRECISION in 
types.h), so a passing test cannot have more than that.
I added a case to DecimalTypeMismatch where the arrow decimal's precision is 
>38.


https://gerrit.cloudera.org/#/c/25420/2/fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFormatWriter.java
File 
fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFormatWriter.java:

https://gerrit.cloudera.org/#/c/25420/2/fe/src/main/java/org/apache/impala/util/paimon/PaimonArrowFormatWriter.java@43
PS2, Line 43: public class PaimonArrowFormatWriter implements AutoCloseable {
> I think we should remove the extra space.
Done



--
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: comment
Gerrit-Change-Id: Ibe2c5d2067b8e20ada95ced54f859218558aa07d
Gerrit-Change-Number: 25420
Gerrit-PatchSet: 3
Gerrit-Owner: Balazs Hevele <[email protected]>
Gerrit-Reviewer: Balazs Hevele <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Xuebin Su <[email protected]>
Gerrit-Reviewer: ji chen <[email protected]>
Gerrit-Comment-Date: Mon, 16 Nov 2026 07:41:29 +0000
Gerrit-HasComments: Yes

Reply via email to