-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-8872][CH][Part-2] Support Delta Deletion Vectors read for CH backend #8947
Conversation
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
50f2c0f
to
57076c9
Compare
Run Gluten Clickhouse CI on x86 |
2 similar comments
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
@CodiumAI-Agent /review |
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to e86e2c5
Previous suggestionsSuggestions up to commit ee811df
Suggestions
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨
|
fe55669
to
ee811df
Compare
Run Gluten Clickhouse CI on x86 |
2 similar comments
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request adds support for reading deletion vectors bitmap in the CH backend by extending the Substrait conversion logic and updating file metadata handling.
- Introduces a new helper method in SubstraitUtil.java for converting Java objects to Protobuf Any messages.
- Adds a new proto message and repeated field for handling additional metadata columns in algebra.proto.
- Updates LocalFilesNode.java, IcebergLocalFilesNode.java, and LocalFilesBuilder.java to support and propagate a new parameter for extra metadata columns.
Reviewed Changes
File | Description |
---|---|
gluten-substrait/src/main/java/org/apache/gluten/substrait/utils/SubstraitUtil.java | New utility method for object-to-Protobuf conversion. |
gluten-substrait/src/main/resources/substrait/proto/substrait/algebra.proto | Added proto message and repeated field for extra metadata columns. |
gluten-substrait/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java | Updated to handle additional metadata columns and incorporate conversion using SubstraitUtil. |
gluten-iceberg/src-iceberg/main/java/org/apache/gluten/substrait/rel/IcebergLocalFilesNode.java | Adjusted constructor call to include the new metadata parameter. |
gluten-substrait/src/main/java/org/apache/gluten/substrait/rel/LocalFilesBuilder.java | Updated helper method to propagate the new extra metadata parameter. |
Copilot reviewed 25 out of 25 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
gluten-substrait/src/main/java/org/apache/gluten/substrait/rel/LocalFilesNode.java:202
- [nitpick] The local variable name 'metadataColumns' in this block may be confused with the instance variable of a similar name. Consider renaming it (e.g., to 'otherMetadata') to improve clarity.
Map<String, Object> metadataColumns = otherMetadataColumns.get(i);
bf04df8
to
6b06f2f
Compare
Run Gluten Clickhouse CI on x86 |
6b06f2f
to
8d8ad90
Compare
Run Gluten Clickhouse CI on x86 |
…backend Part-2: Support reading deletion vectors bitmap when queryring
8d8ad90
to
b1b3490
Compare
Run Gluten Clickhouse CI on x86 |
What changes were proposed in this pull request?
Part-2:
Support reading deletion vectors bitmap when queryring
(Fixes: #8872)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)