-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Arrow Variant Extension Type, remove Array impl for VariantArray and ShreddedVariantFieldArray
#8392
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
Merged
Merged
Add Arrow Variant Extension Type, remove Array impl for VariantArray and ShreddedVariantFieldArray
#8392
Changes from 6 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
bb11814
Remove `Array` impl for `VariantArray` and `ShreddedVariantFieldArray``
alamb 5cc767e
ArrayRef::from consistently
alamb 3e6b0cb
Avoid unecessary &
alamb 9b0e89f
Introduce `ShreddingState::try_from`
alamb 4b1daab
ShreddingState is infallable
alamb 3306992
Merge remote-tracking branch 'apache/main' into alamb/variant_array
alamb 61812ba
fix test
alamb d1830b1
Merge remote-tracking branch 'apache/main' into alamb/variant_array
alamb b0d9059
remove confusing comments
alamb 179e5f3
Simplify VariantType::try_new
alamb 32fbb35
Simplify is_null
alamb ba82096
map_type --> rewrite_to_view
alamb ddca836
Improve formatting of rewrite_to_view_types
alamb b871df4
Update parquet-variant-compute/src/variant_get.rs
alamb 8aaf81d
Apply suggestions from code review
alamb 881db7c
Merge remote-tracking branch 'apache/main' into alamb/variant_array
alamb 417ba6b
Use empty string for metadata
alamb a470e02
Merge branch 'alamb/variant_array' of github.com:alamb/arrow-rs into …
alamb 223d2b4
Update parquet-variant-compute/src/variant_array.rs
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
I assume we want to validate the rules from https://github.com/apache/arrow/blob/d803afcc43f5d132506318fd9e162d33b2c3d4cd/docs/source/format/CanonicalExtensions.rst?plain=1#L442-L465 here?
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.
Yes for sure, however the current implementation only supports BinaryView. Here is a ticket that for supporting other types:
BinaryArray/LargeBinaryArrayin addition toBinaryViewArrayfor Variant #8387