Skip to content

[Spark] Add table property to write partition columns, default to true#6525

Open
itsbilal wants to merge 2 commits into
delta-io:masterfrom
itsbilal:default-write-part-cols
Open

[Spark] Add table property to write partition columns, default to true#6525
itsbilal wants to merge 2 commits into
delta-io:masterfrom
itsbilal:default-write-part-cols

Conversation

@itsbilal
Copy link
Copy Markdown
Contributor

@itsbilal itsbilal commented Apr 8, 2026

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

This change adds a new table property
delta.writePartitionColumnsToParquet that controls whether partition columns are materialized to data parquet files. If set to true, or unset (default), we write partition columns to all data parquet files. If false, we revert to the old behaviour.

How was this patch tested?

Unit tests

Does this PR introduce any user-facing changes?

No

This change adds a new table property
delta.writePartitionColumnsToParquet that controls whether partition
columns are materialized to data parquet files. If set to true, or
unset (default), we write partition columns to all data parquet files.
If false, we revert to the old behaviour.
@itsbilal
Copy link
Copy Markdown
Contributor Author

Created a protocol change for this too: #6545

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant