Skip to content

Core, Spark: Fix handling of null binary values when sorting with zorder#10026

Merged
amogh-jahagirdar merged 1 commit into
mainfrom
zorder-bytearr-npe
Mar 25, 2024
Merged

Core, Spark: Fix handling of null binary values when sorting with zorder#10026
amogh-jahagirdar merged 1 commit into
mainfrom
zorder-bytearr-npe

Conversation

@amogh-jahagirdar

Copy link
Copy Markdown
Contributor

Fixes #10022

Currently we don't handle null binary values correctly when they are part of a zordered column. In terms of ordering they should just be a 0'd out buffer (simllar to strings).

@nastra nastra 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.

LGTM with some minor comments

@amogh-jahagirdar

Copy link
Copy Markdown
Contributor Author

Merging, thanks for the reviews @RussellSpitzer @nastra !

@amogh-jahagirdar amogh-jahagirdar merged commit 602186b into main Mar 25, 2024
@nastra nastra deleted the zorder-bytearr-npe branch March 26, 2024 06:45
cccs-br pushed a commit to CybercentreCanada/iceberg that referenced this pull request May 6, 2024
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zorder fails with null binary values

3 participants