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

feat: union schema serialization/deserialization for ipc #1135

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

helgikrs
Copy link
Contributor

@helgikrs helgikrs commented Jan 5, 2022

Which issue does this PR close?

Adds support for serializing a schema containing a union for ipc. Needed for #654, but does not close it.

What changes are included in this PR?

Instead of throwing a not implemented error, schema containing a union can now be serialized and deserialized properly from ipc.

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 5, 2022
Copy link
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 great to me @helgikrs -- thank you

@@ -820,7 +857,45 @@ mod tests {
]),
false,
),
Field::new(
"union<int64, list[union<date32, list[union<>]>]>",
DataType::Union(
Copy link
Contributor

Choose a reason for hiding this comment

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

unions of unions 🤯 LOL

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