Skip to content

Encapsulate FieldMetadata #2

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

Conversation

alamb
Copy link

@alamb alamb commented Jun 6, 2025

Which issue does this PR close?

Rationale for this change

As we begin supporting metadata from Fields I think keeping it encapsulated in a struct will help. Also making it cheaper to Clone will be important

What changes are included in this PR?

  1. Encapsulate the representation of metadata into a struct
  2. Wrap the inner with an Arc to make it fast to clone

Are these changes tested?

By unit tests

Are there any user-facing changes?

The API is different. Since we haven't merged apache#16170 yet I don't think there are any user visible changes

@alamb
Copy link
Author

alamb commented Jun 7, 2025

Per the comments here, I'll prepare this PR to merge to 49.0.0 on main:

@alamb
Copy link
Author

alamb commented Jun 7, 2025

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.

1 participant