Skip to content

Fix: support empty Struct fields in Arrow IPC decoding#57

Merged
jheer merged 3 commits intouwdata:mainfrom
roelentless:feature/support-empty-structs
Jan 22, 2026
Merged

Fix: support empty Struct fields in Arrow IPC decoding#57
jheer merged 3 commits intouwdata:mainfrom
roelentless:feature/support-empty-structs

Conversation

@roelentless
Copy link
Contributor

Decoding failed for IPC streams containing empty structs (struct {}) generated by external encoders (e.g. Rust).
According to my research the Arrow spec does not forbid structs without children.

This PR should:

  • Fix decoding of empty Struct fields
  • Add tests for both IPC formats that use externally generated test data with columns: int32, struct {}, int32

All tests pass

Ran into this with real data; a broader review of empty/null field handling may be worthwhile.

@roelentless
Copy link
Contributor Author

@jheer if you could have a look? Thx.

@jheer jheer merged commit 925cf4a into uwdata:main Jan 22, 2026
2 checks passed
@jheer
Copy link
Member

jheer commented Jan 22, 2026

Thanks @roelentless!

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