Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set keys to null where applicable in dictionary-encoded results #46

Merged
merged 5 commits into from
Sep 16, 2024

Conversation

davidhewitt
Copy link
Collaborator

This is a workaround for apache/arrow-rs#6017 (comment)

The idea is that for dict-encoded data, the keys can be null which avoids the need to look into the union values at all for nullability. This should also happen to be more efficient than relying on the above linked issue to be fixed.

src/common.rs Outdated Show resolved Hide resolved
src/common.rs Outdated Show resolved Hide resolved
src/common.rs Outdated Show resolved Hide resolved
src/common.rs Outdated Show resolved Hide resolved
@davidhewitt
Copy link
Collaborator Author

Received approval to merge offline.

@davidhewitt davidhewitt merged commit f3d5366 into main Sep 16, 2024
7 checks passed
@davidhewitt davidhewitt deleted the dh/dict-key-nulls branch September 16, 2024 14:02
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.

2 participants