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!: project struct array fields in arrow conversion #254

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

mbrobbel
Copy link
Owner

This changes the conversion from arrow_array::StructArray to StructArray to project the fields of the StructArray i.e. the conversion is no longer order dependent and selects the fields (by name) that are required to complete the conversion, panicking when a field for the target is missing in the source.

@mbrobbel mbrobbel requested a review from johanpel September 25, 2024 19:28
Copy link
Collaborator

@johanpel johanpel left a comment

Choose a reason for hiding this comment

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

Very useful, thanks LGTM!

@mbrobbel mbrobbel enabled auto-merge (squash) October 1, 2024 08:22
@mbrobbel mbrobbel merged commit 22608e3 into main Oct 1, 2024
22 checks passed
@mbrobbel mbrobbel deleted the project-struct-conversion branch October 1, 2024 08:25
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