apache / apache/datafusion

Add extra configuration to `ParquetExec` to support saveModes

Open
#5,119 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? Please describe what you are trying to do.**
Currently `ParquetExec` is not flexible and behaves like `ErrorIfExists` save mode, would be nice to implement other save modes like in Spark https://spark.apache.org/docs/latest/api/java/index.html?org/apache/spark/sql/SaveMode.html

**Describe the solution you'd like**
Add save modes to parquet writer

**Describe alternatives you've considered**
Not doing this

**Additional context**
None

Contributor guide

Open the contributing guide

Research direction

Start by locating ParquetExec and the parquet writer, then compare the requested behavior with Spark's SaveMode documentation linked in the issue. Define which save modes are supported and verify that each mode produces the expected writer behavior before considering the issue done.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.