Skip to content

GH-33390: [R] Field-level metadata#49631

Open
max-romagnoli wants to merge 1 commit intoapache:mainfrom
max-romagnoli:GH-33390-r-field-metadata
Open

GH-33390: [R] Field-level metadata#49631
max-romagnoli wants to merge 1 commit intoapache:mainfrom
max-romagnoli:GH-33390-r-field-metadata

Conversation

@max-romagnoli
Copy link
Copy Markdown

@max-romagnoli max-romagnoli commented Apr 1, 2026

Rationale for this change

  • field() in R unlike Python does not support field-level metadata.

What changes are included in this PR?

  • New active bindings on Field: $HasMetadata, $metadata
  • New methods on Field: $WithMetadata(), $RemoveMetadata()
  • New check_metadata parameter in Field$Equals(), defaulting to FALSE
  • Tests for the above

Are these changes tested?

  • Yes, unit tests have been added, the functionality was also tested locally in R

Are there any user-facing changes?

  • Yes, metadata= now works without throwing an error.
  • No breaking changes, since this was already included but errored before and parameter order was not changed in the implementation.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

⚠️ GitHub issue #33390 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant