ji chen has uploaded a new patch set (#8). ( https://gerrit.cloudera.org/25447 )

Change subject: IMPALA-15803: Bump Apache Paimon to 2.1.0 and trim shaded 
dependencies
......................................................................

IMPALA-15803: Bump Apache Paimon to 2.1.0 and trim shaded dependencies

Upgrade the bundled Paimon reader from 1.3.1 to 2.1.0. Add
impala-paimon-runtime with paimon-hive-connector-common and paimon-arrow,
ServicesResourceTransformer for Factory SPI merging, and shade filters that
strip embedded copies of libraries Impala pins in impala-config.sh.

Overlay Avro 1.11.5 into the relocated org.apache.paimon.shade package to
mitigate CVE-2025-33042 (avro-compiler SpecificCompiler). Paimon's eight
RawBlock* classes are kept because upstream Avro 1.12 does not ship them.

Wire FE to the shaded runtime jar and adapt for Paimon 2.x API changes.
Drop obsolete NOT-pushdown guard for prefix/suffix LIKE now that 2.1
negates to NotStartsWith/NotEndsWith. Tighten float bound predicate tests.
Add merge-engine=aggregation test fixture and query coverage.

Testing:
- PaimonImpalaExprConverterTest (NOT prefix/suffix LIKE pushdown).
- QueryTest/paimon-predicate-push-down (NOT LIKE 'varchar1%' and '%3',
  and NULL row).
- QueryTest/paimon-query (paimon_aggregation_pk merge-engine sum on read).
- PaimonRuntimeJarCoverageTest (shaded jar round-trips for parquet, orc,
  avro; PK merge, deletion vectors, predicate and partition filters; Table,
  Catalog API calls; transitive class linkage summary).

Assisted-by: Auto (Cursor)
Change-Id: Ibe580b2ae3ef6708430587f4ae126df457569806
---
M bin/impala-config.sh
M docs/topics/impala_paimon.xml
M fe/pom.xml
M fe/src/main/java/org/apache/impala/catalog/paimon/PaimonCatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/planner/PaimonScanNode.java
M 
fe/src/test/java/org/apache/impala/planner/paimon/PaimonImpalaExprConverterTest.java
A 
fe/src/test/java/org/apache/impala/planner/paimon/PaimonRuntimeJarCoverageTest.java
M java/external-frontend/pom.xml
M java/pom.xml
A java/shaded-deps/impala-paimon-runtime/pom.xml
M testdata/data/paimon_test/README.md
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/bucket-0/data-7fcc4a8f-245d-46ef-9654-cf1132e2447f-0.parquet
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/bucket-0/data-b37d8190-69cb-4417-ba28-159af54568b1-0.parquet
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-35d1cc6a-108c-4385-a157-6566b344546d-0
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-38267ca1-d410-40ce-a2bc-174ffb322e1d-0
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-list-67b15407-0a1e-49dc-a152-d41ceca47777-0
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-list-67b15407-0a1e-49dc-a152-d41ceca47777-1
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-list-7cc44623-c223-4b3a-a3fd-954485376bfb-0
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/manifest/manifest-list-7cc44623-c223-4b3a-a3fd-954485376bfb-1
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/schema/schema-0
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/snapshot/EARLIEST
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/snapshot/LATEST
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/snapshot/snapshot-1
A 
testdata/data/paimon_test/paimon_catalog/warehouse/functional.db/paimon_aggregation_pk/snapshot/snapshot-2
M testdata/datasets/functional/functional_schema_template.sql
M testdata/datasets/functional/schema_constraints.csv
M 
testdata/workloads/functional-query/queries/QueryTest/paimon-predicate-push-down.test
M testdata/workloads/functional-query/queries/QueryTest/paimon-query.test
28 files changed, 1,331 insertions(+), 52 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/25447/8
--
To view, visit https://gerrit.cloudera.org/25447
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibe580b2ae3ef6708430587f4ae126df457569806
Gerrit-Change-Number: 25447
Gerrit-PatchSet: 8
Gerrit-Owner: ji chen <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jiyoung Yoo <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to