[feature](paimon) Add Paimon 2.0 transactional writes - #66790
Draft
damokelis wants to merge 7 commits into
Draft
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
damokelis
force-pushed
the
codex/paimon-2.0-master
branch
from
August 14, 2026 17:13
a22f7f6 to
48d7751
Compare
added 7 commits
August 15, 2026 09:13
Paimon 2.0 stores VARIANT as a physical value/metadata struct and ships the Vortex format in a separate module. Native Parquet reads expose the physical struct instead of the logical value. Encode legacy Doris VARIANT columns into the Paimon binary struct, decode JNI reads into both VARIANT generations, route recursive VARIANT projections through JNI, and package the Vortex runtime. Preserve scalar, SQL NULL, encoded JSON null, row tracking, and native scalar-only read behavior. Tests: connector reactor (551 tests); Paimon scanner reactor (85 tests); Paimon regression suite; focused C++ tests; clang-format; git diff --check.
damokelis
force-pushed
the
codex/paimon-2.0-master
branch
from
August 15, 2026 07:46
48d7751 to
01d75c2
Compare
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?
Issue Number: close #66784
Related PR: #65868
Problem Summary:
The Connector SPI path on
mastercan read Paimon tables, but it still uses Paimon 1.3.1 and does not provide a complete external-table write path. The implementation frombranch-4.1cannot be applied directly because catalog, transaction, planning, scan, and write contracts have moved to the connector modules onmaster.This draft:
CREATE TABLE,DROP TABLE,INSERT INTO,INSERT OVERWRITE, and CTAS paths;Release note
Support transactional writes to Apache Paimon 2.0 external catalogs, including CREATE/DROP, INSERT, INSERT OVERWRITE, and CTAS.
Check List (For Author)
Current validation:
git diff --check: passed.1786733167633remained stable and is alive on172.21.48.181;sha256:8f82d5cf69147101a15e6c46f90523391c1a07a0ea28226901fd36bf677f40b6;doris_beSHA256:055313b210249c0f595f97211855590d0e95336655bbdd03de93b5bc9d9f4887;0a9b83bb92f376275ef9a428fdc333d414e60c0813a3cad4c175c4b9e44b4b8e;EXPLAIN VERBOSEreportedSplitStat [type=JNI]withforce_jni_scanner=false;COUNT(*)scans; the remaining three were blocked by external COSgetFileStatusAPI timeouts, including after raising the S3A request timeout from 15s to 120s. Their Paimon snapshot/file metadata remained readable.The PR remains draft because repository automated code review requires a MEMBER/OWNER/COLLABORATOR to trigger
/review, and the three full-table COS scans are still externally blocked.Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)