[VL][Delta] Add JVM Delta DV scan handoff#12198
Draft
malinjawi wants to merge 2 commits into
Draft
Conversation
|
Run Gluten Clickhouse CI on x86 |
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?
This PR is the next split in the Delta deletion-vector scan stack and is stacked on #12197.
It adds the JVM/Substrait/Velox handoff that consumes the essential Delta DV scan info extracted by #12197, materializes serialized DV payloads on the JVM side, and passes them to native scan execution.
Main changes:
PrepareDeltaScanDeltaDeletionVectorScanInfofrom [VL][Delta] Add DV scan info extraction utility #12197 to extract per-file DV metadata and serialized DV bytes from Delta-prepared scan filesDeltaReadOptionsDeltaReadOptions, instead of passing essential DV data through generic metadata columnsDeltaSplitInfopath for Delta-specific split metadataVeloxIteratorApi,VeloxPlanConverter,WholeStageResultIterator, andSubstraitToVeloxPlanThis PR is intentionally handoff-only:
Issue: #11901
How was this patch tested?
Validation run locally:
JAVA_HOME=$(/usr/libexec/java_home -v 17) ./build/mvn test-compile -pl backends-velox -am -Pjava-17,spark-3.5,backends-velox,hadoop-3.3,spark-ut,delta -DskipTestsJAVA_HOME=$(/usr/libexec/java_home -v 17) ./build/mvn test-compile -pl backends-velox -am -Pjava-17,spark-4.0,scala-2.13,backends-velox,hadoop-3.3,spark-ut,delta -DskipTestsgit diff --check/opt/homebrew/opt/llvm@15/bin/clang-formatWas this patch authored or co-authored using generative AI tooling?
Generated-by: IBM BOB