Skip to content

Conversation

@zeroshade
Copy link
Member

Rationale for this change

fixes #565

What changes are included in this PR?

Fixing Metadata.sortedIndices to properly sort the key indices

Are these changes tested?

Yes, a unit test is added for this situation

Are there any user-facing changes?

No

@zeroshade zeroshade requested review from alamb and lidavidm November 10, 2025 21:47
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.

Thank you @zeroshade 🙏

I am not quite enough of a go expert to understand the code change, but the test changes make sense to me 👍

@jbonofre
Copy link
Member

LGTM (FYI, it impacts arrow-java, see apache/arrow-java#908).

@zeroshade zeroshade merged commit ad7125a into apache:main Nov 11, 2025
16 checks passed
@pixelherodev
Copy link
Contributor

Quick question just for my edification; is it legal for there to be multiple entries for the same key in a Metadata? Was trying to figure out why it's not a map..

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.

arrow-integration test failing on both C++ and Rust repos w/ Go

5 participants