feat: support ListView and LargeListView in ScalarValue#21669
Merged
Jefffrey merged 11 commits intoapache:mainfrom Apr 22, 2026
Merged
feat: support ListView and LargeListView in ScalarValue#21669Jefffrey merged 11 commits intoapache:mainfrom
ListView and LargeListView in ScalarValue#21669Jefffrey merged 11 commits intoapache:mainfrom
Conversation
Jefffrey
commented
Apr 16, 2026
| 3, | ||
| ), | ||
| )), | ||
| ScalarValue::ListView(Arc::new(ListViewArray::from_iter_primitive::< |
Contributor
Author
There was a problem hiding this comment.
Only change in this file is adding cases for listview & largelistview; other changes is indent change. Would recommend reviewing with whitespace off
comphead
reviewed
Apr 16, 2026
martin-g
reviewed
Apr 17, 2026
| } | ||
| ScalarValue::ListView(arr) => { | ||
| let array = copy_array_data(&arr.to_data()); | ||
| *Arc::make_mut(arr) = ListViewArray::from(array); |
Member
There was a problem hiding this comment.
Suggested change
| *Arc::make_mut(arr) = ListViewArray::from(array); | |
| *Arc::make_mut(arr) = ListViewArray::from(array) |
Contributor
Author
There was a problem hiding this comment.
I don't see a value add here; it's valid syntax
Member
There was a problem hiding this comment.
Consistency with the other match arms
martin-g
approved these changes
Apr 20, 2026
Contributor
|
Let's do it! |
Contributor
Author
|
Thanks all |
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.
Which issue does this PR close?
ListView,LargeListViewinScalarValue#18886ListViewandLargeListViewinScalarValue#18884Rationale for this change
More support for listview types in the codebase
What changes are included in this PR?
Added
ListViewandLargeListViewtoScalarValuewith all accompanying changesSupport
ListViewandLargeListViewin proto, both for the arrow datatype & the newly introduced scalarvalue variants.Are these changes tested?
Yes, added tests
Are there any user-facing changes?
No