-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Arrow] Revisiting ChunkedArray combination protocol to avoid int32 o…
…ffsets overflow (#48754) ## Why are these changes needed? > NOTE: This is a follow-up for #48487 This PR addresses challenges of handling batches larger than 2 GiB that are known to overflow standard Arrow types relying on int32 offsets. Changes --- - Unified all `ChunkedArray` combination attempts to call into `combine_chunked_array` - Introduced `_try_combine_chunks_safe` properly handling the cases when single PA `Array` would be exceeding 2 GiB threshold - Added tests - Minor clean ups --------- Signed-off-by: Alexey Kudinkin <ak@anyscale.com>
- Loading branch information
1 parent
154915d
commit 2dbd08a
Showing
9 changed files
with
473 additions
and
146 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
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
Oops, something went wrong.