Skip to content

arrow-cast: Add ability to cast plain struct to dictionary#10039

Open
brancz wants to merge 1 commit into
apache:mainfrom
polarsignals:struct-dict-cast
Open

arrow-cast: Add ability to cast plain struct to dictionary#10039
brancz wants to merge 1 commit into
apache:mainfrom
polarsignals:struct-dict-cast

Conversation

@brancz
Copy link
Copy Markdown
Contributor

@brancz brancz commented May 29, 2026

Which issue does this PR close?

What changes are included in this PR?

A naive implementation of casting plain structs to dictionaries, that doesn't perform any deduplication.

Are these changes tested?

Unit tests added.

Are there any user-facing changes?

No, just a new feature.

@alamb @Jefffrey

@github-actions github-actions Bot added the arrow Changes to the arrow crate label May 29, 2026
@brancz brancz force-pushed the struct-dict-cast branch from 0a9f057 to 001b18f Compare May 29, 2026 13:23
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thanks @brancz

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.

Allow casting plain struct to dictionary encoded struct

2 participants