arrow icon indicating copy to clipboard operation
arrow copied to clipboard

[C++] Refactor `GenericNullLikePartition::TranslateTo`

Open taepper opened this issue 4 months ago • 1 comments

Describe the enhancement requested

GenericNullLikePartition::TranslateTo translates a partition result from a source range to a target range. This includes pointer arithmetic and does not allow bounds checking for the source and target range, as only the range starts are given. Ideally, we want to pass the entire source and target range to the function, which will allow us to both validate sizes, guarantee that the correct source range is passed, and the resulting GenericNullLikePartition will point into the target range

Component(s)

C++

taepper avatar Jul 22 '26 12:07 taepper

Issue resolved by pull request 50602 https://github.com/apache/arrow/pull/50602

pitrou avatar Jul 22 '26 12:07 pitrou