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

fix: Ensure that schema metadata is always present even if empty #591

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

bkietz
Copy link
Member

@bkietz bkietz commented Aug 20, 2024

An absent Schema.custom_metadata was causing flatcc to produce invalid flatbuffers on s390x. For now, just populate that field with an empty vector

Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

I am not familiar with the details here, but thank you!

@@ -257,6 +257,7 @@ ArrowErrorCode Validate(struct ArrowError* error) {
NANOARROW_RETURN_NOT_OK(arrow_table.FromIpcFile(arrow_path, error));

nanoarrow::testing::TestingJSONComparison comparison;
comparison.set_compare_metadata_order(false);
Copy link
Member

Choose a reason for hiding this comment

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

I thought this change was already merged?

Copy link
Member Author

Choose a reason for hiding this comment

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

@bkietz bkietz merged commit 31feee9 into apache:main Aug 22, 2024
34 checks passed
@paleolimbot paleolimbot added this to the nanoarrow 0.6.0 milestone Sep 17, 2024
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