Skip to content
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

Expose arrow-schema methods, for use when writing parquet outside of ArrowWriter #6916

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wiedld
Copy link
Contributor

@wiedld wiedld commented Dec 27, 2024

Which issue does this PR close?

Addresses need noted here in Datafusion, by making two methods public.

Rationale for this change

When writing parquet with the ArrowWriter, the default behavior will encode the arrow schema in the parquet kv_metadata.

Other libraries may have their own parquet writers, such as Datafusion's ParquetSink, which will need to do the same operation in order to produce equivalent parquet (see DF issue).

What changes are included in this PR?

Make two existing methods public.

Are there any user-facing changes?

Exposes 2 existing methods.

@github-actions github-actions bot added the parquet Changes to the parquet crate label Dec 27, 2024
@wiedld wiedld marked this pull request as ready for review December 27, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant