ji chen has uploaded this change for review. ( https://gerrit.cloudera.org/25568


Change subject: IMPALA-15693: Add paimon-cpp 0.4.0 Impala bundle to the 
toolchain
......................................................................

IMPALA-15693: Add paimon-cpp 0.4.0 Impala bundle to the toolchain

Impala currently scans Paimon tables through JNI on the data path. For
native read support we want to use the open-source Paimon C++ library
(https://github.com/alibaba/paimon-cpp), as suggested on IMPALA-14092
(Quanlong Huang, 13 Dec 2025): integrate it as Impala's native scanner
of the JVM reader.

Adds paimon-cpp 0.4.0-p5 and a build that produces libpaimon_impala.so:
paimon core, file-format/file-system plugins, Lucene full-text index, and
bundled third-party deps (Arrow, ORC, Protobuf, etc.) in one shared library
that exports only paimon:: symbols, so those deps do not clash with versions
already linked into Impala.

glog/gflags come from the Impala toolchain packages rather than paimon's
bundled copies. Patches add PAIMON_BUILD_IMPALA_BUNDLE, drop Arrow C
includes from public headers, make the bundle compatible with the toolchain
glog 0.6, and disable Arrow Brotli for the Impala bundle (CVE-2026-111497).

Testing:
- toolchain build pass for both x86_64/aarch64

Change-Id: I03fff9d79956a878f121f56307ab7ef33b085b1d
Assisted-by: Cursor <[email protected]>
---
M buildall.sh
A source/paimon-cpp/build.sh
A 
source/paimon-cpp/paimon-cpp-0.4.0-patches/0001-Add-PAIMON_BUILD_IMPALA_BUNDLE.patch
A 
source/paimon-cpp/paimon-cpp-0.4.0-patches/0002-Remove-Arrow-C-includes-from-public-headers.patch
A 
source/paimon-cpp/paimon-cpp-0.4.0-patches/0003-Use-Impala-toolchain-glog-for-Impala-bundle.patch
A 
source/paimon-cpp/paimon-cpp-0.4.0-patches/0004-Compat-with-Impala-toolchain-glog-0.6.patch
A 
source/paimon-cpp/paimon-cpp-0.4.0-patches/0005-Disable-Arrow-Brotli-for-Impala-bundle.patch
7 files changed, 460 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/68/25568/1
--
To view, visit https://gerrit.cloudera.org/25568
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I03fff9d79956a878f121f56307ab7ef33b085b1d
Gerrit-Change-Number: 25568
Gerrit-PatchSet: 1
Gerrit-Owner: ji chen <[email protected]>

Reply via email to