Repository navigation
[Python] Unify bound execution protocols and writer configuration lifecycle - #10717
Merged
JingsongLi merged 6 commits intoOct 21, 2026
Merged
Conversation
JingsongLi
marked this pull request as ready for review
October 21, 2026 11:17
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.
Purpose
Continue aligning Python and Rust execution APIs while preserving public PyPaimon contracts. This follows the merged #10712.
Depends on apache/paimon-rust#1188 for captured append writer configuration and the private row transport query. Native CI continues to build Rust main; this PR remains draft until that dependency is merged.
Changes
prepare_commit(identifier)boundary. Public batch facades accept no arguments and retain the one-time guard; public stream facades require a signed 64-bit identifier. Native facades enforce the same signatures before preparation, including after an explicit switch to Python.actextra, pytest input option and packaged experiment resource.execution/python/deletionvectors, keeping sharedDeletionFile/DeletionVectorMetametadata in their domain modules. Update all callers and verify distribution contents.execution/python/casting. Put shared Arrow read schemas and logical cast rules inschema, shared numeric/calendar/metadata formatters inutils, and private Python commit partition-spec parsing in its executor. Native read/commit adapters do not import Python cast implementations.execution/python. Keep shared metadata/schema/value helpers, SQL parsing/validation, callable input adapters and cross-backend bucket input routing in their domain modules. Local and Ray MERGE use the same Python action factories.commonagainst actual backend callers. Move external-file placement strategies into Python write execution and MAP BLOB physical key serializers into the Python backend. Split authorization JSON Arrow filtering/masking/CAST execution from shared field-reference extraction. Preserve public authorization factory signatures and shared path-factory configuration/existing-file lookup; load Python implementations only on explicit execution. URI/FileIO contracts, catalog-owned caches, generic integer codecs and shared predicate/output helpers remain outside the backends.Verification
git diff --checkpass.The local installed SDK predates this change. It was not rebuilt or installed, and no Native version probing/fallback or CI dependency override was added.