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

Builder interface for arrow_ipc::FileWriter #5236

Open
devinjdangelo opened this issue Dec 22, 2023 · 1 comment
Open

Builder interface for arrow_ipc::FileWriter #5236

devinjdangelo opened this issue Dec 22, 2023 · 1 comment
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@devinjdangelo
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

While looking into apache/datafusion#8635, I noticed that arrow_ipc::FileWriter does not appear to have a builder interface for configuring write related options. It would be convenient to have a similar interface to parquet WriterProperties::builder() or csv WriterBuilder that enables mutating specific options.

Describe the solution you'd like
arrow_ipc::FileWriterBuilder that enables configuring options with a similar interface for other writers in arrow-rs

Describe alternatives you've considered
The existing interface does enable setting options via IpcWriteOptions::try_new and IpcWriteOptions::try_with_compression, so this is more for convenience / consistency than adding new functionality.

Additional context

@tustvold
Copy link
Contributor

#5136 is possibly related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

No branches or pull requests

2 participants