Skip to content

Add Enum type support to ArrowTypes#588

Open
jariji wants to merge 1 commit intoapache:mainfrom
jariji:enum-support
Open

Add Enum type support to ArrowTypes#588
jariji wants to merge 1 commit intoapache:mainfrom
jariji:enum-support

Conversation

@jariji
Copy link

@jariji jariji commented Mar 5, 2026

Summary

  • Add serialization/deserialization support for Julia Enum types via Int32 storage
  • Introduce registertype! for registering enum types in read-only scenarios (when the writing session is unavailable)
  • Automatic type registration during writes via arrowmetadata
  • Support for Union{Enum, Missing} columns

Test plan

  • ArrowTypes unit tests: ArrowType, toarrow, arrowname, arrowmetadata, JuliaType, fromarrow, default, registertype!
  • Arrow integration tests: basic roundtrip, missing values, multiple enum columns, multiple record batches

🤖 Generated with Claude Code

Enums are serialized as Int32 with a type registry for roundtrip
deserialization. Includes `registertype!` for read-only scenarios
where the writing session is unavailable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant