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

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

IMPALA-15693: Add paimon-cpp 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.3.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).

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


  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/52/25252/3
--
To view, visit https://gerrit.cloudera.org/25252
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I449871179d5eaff90723f197f730249be3d8bb73
Gerrit-Change-Number: 25252
Gerrit-PatchSet: 3
Gerrit-Owner: ji chen <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to