Skip to content

Fix subtraction underflow when sorting string arrays with many nulls#285

Merged
nevi-me merged 1 commit into
apache:masterfrom
medwards:fix_sort_with_limit_string_arrays
May 13, 2021
Merged

Fix subtraction underflow when sorting string arrays with many nulls#285
nevi-me merged 1 commit into
apache:masterfrom
medwards:fix_sort_with_limit_string_arrays

Conversation

@medwards

@medwards medwards commented May 11, 2021

Copy link
Copy Markdown
Contributor

Rationale for this change

String arrays, boolean arrays, arrays of lists, and more follow a different code path than primitive arrays so updating to match #236

Are there any user-facing changes?

No.

@medwards medwards force-pushed the fix_sort_with_limit_string_arrays branch from ce2a822 to 2ebd0a6 Compare May 11, 2021 16:15
@jhorstmann

Copy link
Copy Markdown
Contributor

@alamb @jorgecarleitao This is a bugfix for an issue we had with sorting strings or dictionary encoded strings in our system, would be great to get a quick review

@jorgecarleitao jorgecarleitao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot.

If I understand, this was similar to the bug in primitive types and it has the same resolution here. 👍

@medwards

Copy link
Copy Markdown
Contributor Author

If I understand, this was similar to the bug in primitive types and it has the same resolution here. +1

That's correct.

@nevi-me nevi-me left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't review in a lot of detail, but I follow the approach

@alamb

alamb commented May 11, 2021

Copy link
Copy Markdown
Contributor

Thank you @medwards

@nevi-me nevi-me merged commit ce8e67c into apache:master May 13, 2021
@nevi-me

nevi-me commented May 13, 2021

Copy link
Copy Markdown
Contributor

Done @medwards @jhorstmann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants