Skip to content

Support deserializing dictionary encoded arrays with null values#309

Merged
chmp merged 5 commits into
chmp:mainfrom
bennetthardwick:support-nullable-dicts
May 12, 2026
Merged

Support deserializing dictionary encoded arrays with null values#309
chmp merged 5 commits into
chmp:mainfrom
bennetthardwick:support-nullable-dicts

Conversation

@bennetthardwick
Copy link
Copy Markdown
Contributor

Arrow allows dictionary encoded arrays to have null values. These values are not specified as null in the validity bitmap but are known as "logical nulls" and should still be supported.

Currently serde_arrow will return an error when attempting to deserialize a dictionary encoded array with null values.

This change adds support for them and allows them to deserialize.

Fixes #307.

bennetthardwick and others added 3 commits May 11, 2026 18:48
Arrow allows dictionary encoded arrays to have null values. These values
are not specified as null in the validity bitmap but are known as
"logical nulls" and should still be supported.

Currently serde_arrow will return an error when attempting to
deserialize a dictionary encoded array with null values.

This change adds support for them and allows them to deserialize.

Fixes chmp#307.
@bennetthardwick
Copy link
Copy Markdown
Contributor Author

Hey @chmp I've incorporated the changes raised in #308. You should also be able to push to this branch now.

@chmp
Copy link
Copy Markdown
Owner

chmp commented May 12, 2026

Thanks a lot. I just added a shout out to you with a PR link. Will merge once the tests pass!

@chmp chmp merged commit 2288bb4 into chmp:main May 12, 2026
1 check passed
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.

Support null values in dictionary arrays

2 participants