forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-41231: [C#] Slice values array when writing a sliced list vi…
…ew array to IPC format (apache#41255) ### Rationale for this change Reduces IPC file sizes when writing sliced list view arrays. ### What changes are included in this PR? Updates `ArrowSreamWriter` so it only writes the required range of values for a list view array, and adjusts the offset values accordingly. ### Are these changes tested? Yes, this is covered by existing tests and I've also added a new test to verify the behaviour with list view arrays that have unordered offsets. ### Are there any user-facing changes? Yes, this might reduce IPC file sizes for users writing sliced data. * GitHub Issue: apache#41231 Lead-authored-by: Adam Reeve <[email protected]> Co-authored-by: Curt Hagenlocher <[email protected]> Signed-off-by: Curt Hagenlocher <[email protected]>
- Loading branch information
Showing
3 changed files
with
153 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 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 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