DPL Analysis: avoid Arrow's Slice API#15613
Open
aalkin wants to merge 27 commits into
Open
Conversation
Collaborator
|
Error while checking build/O2/fullCI_slc9 for c845be7 at 2026-07-20 10:30: Full log here. |
aalkin
commented
Jul 20, 2026
Collaborator
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
aalkin
commented
Jul 20, 2026
Co-authored-by: Anton Alkin <anton.alkin@cern.ch>
Collaborator
|
Error while checking build/O2/fullCI_slc9 for 6b31c6e at 2026-07-20 18:32: Full log here. |
aalkin
commented
Jul 21, 2026
aalkin
commented
Jul 21, 2026
Co-authored-by: Anton Alkin <anton.alkin@cern.ch>
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.
Slicing arrow tables is a very common operation within Analysis Framework and currently it goes through the standard Arrow API that involves calling the Slice method on every ChunkedArray backing a column in a given table. This involves allocating internal buffers for the new instances of the ChunkedArray and, while it is not a heavy operation by itself, it is performed thousands of times, or even hundreds of thousands of times in case of derived data. This change replaces usage of Arrow's API with an internal representation that consists of a shared pointer to an Arrow table and a range defined by its starting offset and size. Slicing operation only changes the range, and all the relevant table handling code was updated to take into account externally imposed offset and size.