apache / apache/datafusion

Add serde support for advanced WriterProperties

Open
#8,632 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

PR https://github.com/apache/arrow-datafusion/pull/8627 adds serde support for WriterProperties but did not cover the following advanced options, as documented in `datafusion.proto`:

```
// TODO add advanced writer options
// key_value_metadata: Option>,
// default_column_properties: ColumnProperties,
// column_properties: HashMap,
// sorting_columns: Option>,
// column_index_truncate_length: Option,
```

### Describe the solution you'd like

Add serde support for these options.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the serde implementation added by PR 8627 and the advanced writer options listed in datafusion.proto. Trace how WriterProperties is represented, then cover key_value_metadata, default_column_properties, column_properties, sorting_columns, and column_index_truncate_length; done means each listed option supports serde consistently with the existing properties.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.