[feature](paimon) support native writes for append-only tables - #67531
Draft
suxiaogang223 wants to merge 1 commit into
Draft
[feature](paimon) support native writes for append-only tables#67531suxiaogang223 wants to merge 1 commit into
suxiaogang223 wants to merge 1 commit into
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
suxiaogang223
force-pushed
the
codex/native-paimon-write-phase1
branch
from
September 4, 2026 08:44
eb01cbe to
02d90d7
Compare
suxiaogang223
force-pushed
the
codex/native-paimon-write-phase1
branch
from
September 4, 2026 08:48
02d90d7 to
fc82493
Compare
Member
Author
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Problem Summary:
Paimon writes currently go through the Java/JNI writer. This PR introduces the first phase of a Doris-native Paimon writer for eligible append-only tables while retaining the JNI writer as a compatibility fallback.
Phase 1 supports unpartitioned, primary-key-free, bucket-unaware append-only tables using Parquet with metadata statistics disabled. Unsupported table layouts, options, types, overwrite operations, and row-level changelog writes automatically fall back to JNI.
The implementation:
DataFileMetaand commit messages in FE and commits through the Paimon Java SDK.paimon_insert_mode, defaulting tonativeas a best-effort preference;jniforces the existing JNI path.TPaimonWriteBackendType.FFIreserved for a future paimon-rust integration.Release note
Support native Parquet writes for eligible Paimon append-only tables.
Validation
mvn -pl fe-core -am -DskipTests -Dcheckstyle.skip=true compilemvn -pl fe-core -am -DskipTests -Dcheckstyle.skip=true test-compile/home/socrates/ldb_toolchain/bin/clang-format --dry-run -Werror <changed BE files>git diff --checkBE compilation has intentionally not been run yet. The worktree reuses the main Doris checkout third-party installation and the local LDB toolchain.
Check List (For Author)
Test
Behavior changed:
paimon_insert_mode=jnito force JNI.Does this need documentation?
Check List (For Reviewer who merge this PR)