apache / apache/arrow-rs

Builder interface for arrow_ipc::FileWriter

Open
#5,236 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 14h
Merged PRs (30d)
167

Description

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

While looking into https://github.com/apache/arrow-datafusion/issues/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**

Contributor guide

Open the contributing guide

Research direction

Start by locating arrow_ipc::FileWriter and IpcWriteOptions, then compare their APIs with parquet WriterProperties::builder() and csv WriterBuilder. The work is done when a FileWriterBuilder provides consistent configuration for the existing write options and tests verify the builder behavior without removing the current IpcWriteOptions interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.