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

Fix Dictionary logical nulls for RunArray/UnionArray Values #6740

Merged

Conversation

findepi
Copy link
Member

@findepi findepi commented Nov 16, 2024

Which issue does this PR close?

None

Rationale for this change

For DictionaryArray, methods logical_nulls and logical_null_count would return incorrect result if the underlying values had different physical and logical nullability.

What changes are included in this PR?

Fix DictionaryArray.logical_nulls

Are there any user-facing changes?

yes

@github-actions github-actions bot added the arrow Changes to the arrow crate label Nov 16, 2024
For `DictionaryArray`, methods `logical_nulls` and `logical_null_count`
would return incorrect result if the underlying values had different
physical and logical nullability.
@findepi findepi force-pushed the findepi/fix-dictionary-logical-nulls-5a2d83 branch from 75faa9d to ef5fe4b Compare November 16, 2024 21:54
@findepi findepi closed this Nov 17, 2024
@findepi findepi reopened this Nov 17, 2024
Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thank you

@tustvold tustvold changed the title Fix Dictionary logical nulls Fix Dictionary logical nulls for RunArray/UnionArray Values Nov 17, 2024
@tustvold tustvold merged commit e7588bd into apache:master Nov 19, 2024
51 of 52 checks passed
@findepi findepi deleted the findepi/fix-dictionary-logical-nulls-5a2d83 branch November 19, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants