Skip to content

Conversation

@yongkyunlee
Copy link
Contributor

@yongkyunlee yongkyunlee commented Sep 2, 2025

Which issue does this PR close?

Rationale for this change

This PR preserves the metadata that value contains when arrow-avro decoder flushes.
It is required to support value type enum which stores the enum definition as a json string in the field metadata.

What changes are included in this PR?

This PR fixes decoder flush logic to preserve the metadata of the value of map field.

Are these changes tested?

Added a unit test

Are there any user-facing changes?

N/A

@github-actions github-actions bot added arrow Changes to the arrow crate arrow-avro arrow-avro crate labels Sep 2, 2025
@jecsand838
Copy link
Contributor

@yongkyunlee Thank you so much for getting this PR up!

I just verified locally that #8220 resolves this by running your new test on my branch. Are we okay with getting that PR in first as well?

@yongkyunlee
Copy link
Contributor Author

@jecsand838 Ah okay! Yes sounds good. Once that PR is merged, I'll just create a new PR with the tests (including the ones from my previous closed PR)

@yongkyunlee yongkyunlee closed this Sep 2, 2025
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 arrow-avro arrow-avro crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Avro] Decoder flush panics for map whose value field contains metadata

2 participants