Skip to content

Honor parquet compression table properties#2378

Open
mattefunnel wants to merge 1 commit intoapache:mainfrom
mattefunnel:table-property-compression-default
Open

Honor parquet compression table properties#2378
mattefunnel wants to merge 1 commit intoapache:mainfrom
mattefunnel:table-property-compression-default

Conversation

@mattefunnel
Copy link
Copy Markdown

@mattefunnel mattefunnel commented Apr 27, 2026

Adds typed Parquet compression table properties and uses them for DataFusion writes.

Includes data/delete codec and level resolution, ZSTD fallback for absent or unrecognized values, and DataFusion write tests that inspect Parquet metadata.

Checks: cargo fmt --all; cargo test -p iceberg spec::table_properties::tests; cargo test -p iceberg-datafusion test_iceberg_write_exec_ -- --nocapture; cargo check -p iceberg-datafusion; podman compose -f dev/docker-compose.yaml up -d --build --wait; make nextest; podman compose -f dev/docker-compose.yaml down -v --remove-orphans --timeout 0.

Co-Authored-By: Claude noreply@anthropic.com

&self.write_delete_parquet_compression_codec,
self.write_delete_parquet_compression_level.as_deref(),
)
.unwrap_or(Self::default_parquet_compression())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants