Repository navigation
Conversation
|
Run Gluten Clickhouse CI on x86 |
This branch has not been deployed
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 changes are proposed in this pull request?
Follow-up to #9337: prepare an opt-in bridge from Paimon Java planning to the Velox Paimon connector for batch scans, including the metadata needed by PK/DV readers.
Today the Velox Paimon transformer rejects PK/DV tables and flattens supported splits into raw file ranges. This draft retains the Java catalog, snapshot planning and complete DataSplit boundaries, and introduces a structured native path rather than another paimon-cpp reader.
Scope
spark.gluten.sql.columnar.backend.velox.paimon.reader.enabled=falseby default. The existing raw-file path and CH SDK payload remain unchanged by default.Dependency and design discussion
The initial PK scope is deduplicate with integer/string primary keys and no sequence-field override. Native plan validation requires a Velox baseline with merge-on-read, optional delete-count handling and lookup-merge semantics. The #13808 date baseline does not provide that complete combination; these capability checks keep PK scans rejected on that baseline.
The relevant upstream Velox work is #20364, #20678 and #20695 (in facebookincubator/velox). IBM
oss-maincontains these changes; the Gluten-compatible baseline selection is discussed in IBM/velox#3027 . This draft does not replace the project's Velox baseline or introduce a native write path.Feedback is especially welcome on the shared protocol boundary, connector lifecycle and the capability gate. This PR follows the proposal in #9337 (comment) and is not intended to close the umbrella issue yet.
How was this patch tested?
protocschema generation and encode/decode checks passed.git diff --checkand staged UTF-8/LF checks passed.PaimonNativeProtocolSuiteand native conversion cases covering logical split/DV preservation, mixed-snapshot rejection, empty partitions, dedicated table handles and unsupported capability rejection.Was this patch authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex (GPT-6)