Repository navigation
fix: account for arraydata offset when comparing runarrays - #11536
Merged
Merged
Conversation
Jefffrey
commented
Oct 13, 2026
| run_ends_data.offset(), | ||
| run_ends_data.len(), | ||
| ), | ||
| data.offset() + start, |
Contributor
Author
There was a problem hiding this comment.
run_ends_data.offset() = physical offset into runs child, which is an array
data.offset() = logical offset into run array itself
we cant add them together, as they offset different things
Jefffrey
marked this pull request as ready for review
October 13, 2026 09:50
Rich-T-kid
approved these changes
Oct 13, 2026
Rich-T-kid
left a comment
Contributor
There was a problem hiding this comment.
nice straightforward fix, thanks @Jefffrey
Contributor
Author
yep, but this construction happens internally in the equals logic |
Contributor
Author
|
thanks @alamb & @Rich-T-kid |
This was referenced Oct 18, 2026
alamb
added a commit
that referenced
this pull request
Oct 20, 2026
…arrays (#11673) - Backport #11536 - For inclusion in #11664 Cherry-pick of bfdcd26 --------- Co-authored-by: Andrew Lamb <[email protected]>
alamb
pushed a commit
that referenced
this pull request
Oct 21, 2026
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?
Rationale for this change
Equality fix for ArrayData
What changes are included in this PR?
If RunArray has physical offset for its runs child, we should account for this properly.
Are these changes tested?
Yes
Are there any significant user-facing changes?
No