Skip to content

[Ruby] Add support for custom metadata in Footer#49577

Open
kou wants to merge 1 commit intoapache:mainfrom
kou:ruby-custom-metadata-footer
Open

[Ruby] Add support for custom metadata in Footer#49577
kou wants to merge 1 commit intoapache:mainfrom
kou:ruby-custom-metadata-footer

Conversation

@kou
Copy link
Member

@kou kou commented Mar 21, 2026

Rationale for this change

In file format, Footer can have custom metadata.

What changes are included in this PR?

  • Add garrow_record_batch_file_reader_get_metadata()
  • Add garrow_record_batch_file_writer_new_full()
  • Add ArrowFormat::FileReader#metadata
  • Add metadata to ArrowFormat::FileWriter#finish
  • Add metadata: to Arrow::Table#save

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

In file format, Footer can have custom metadata.

* Add `garrow_record_batch_file_reader_get_metadata()`
* Add `garrow_record_batch_file_writer_new_full()`
* Add `ArrowFormat::FileReader#metadata`
* Add `metadata` to `ArrowFormat::FileWriter#finish`
* Add `metadata:` to `Arrow::Table#save`
@github-actions
Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant