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

pqarrow/arrowutils: Add EnsureSameSchema for records #806

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

metalmatze
Copy link
Member

@metalmatze metalmatze commented Mar 28, 2024

Sometimes, before using MergeRecords, we want to make sure that all records have the same schema. If they don't we need to add NullArrays for fields that don't exist.

This is a modified version of what the OrderedSynchronizer already has.

@metalmatze metalmatze force-pushed the arrowutils-ensuresameschema branch 3 times, most recently from 2f1ecc6 to c89a8be Compare April 24, 2024 09:40
@metalmatze metalmatze force-pushed the arrowutils-ensuresameschema branch from c89a8be to 675c613 Compare April 24, 2024 09:43
Copy link
Contributor

@thorfour thorfour left a comment

Choose a reason for hiding this comment

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

@metalmatze metalmatze merged commit 8760e41 into main Apr 25, 2024
7 checks passed
@metalmatze metalmatze deleted the arrowutils-ensuresameschema branch April 25, 2024 16:54
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