Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Set parquet compression in Iceberg metadata #24851

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SemionPar
Copy link
Contributor

@SemionPar SemionPar commented Jan 30, 2025

Description

Additional context and related issues

Todos: assert incorrect iceberg property values #20401

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jan 30, 2025
@github-actions github-actions bot added the iceberg Iceberg connector label Jan 30, 2025
@SemionPar SemionPar force-pushed the semionpar/iceberg-metadata-compression-codec branch from bab1d84 to b743d37 Compare February 3, 2025 14:28
@SemionPar SemionPar requested a review from ebyhr February 3, 2025 14:29
propertiesBuilder.put(COMMIT_NUM_RETRIES, Integer.toString(IcebergTableProperties.getMaxCommitRetry(tableMetadata.getProperties())));

switch (fileFormat) {
case PARQUET -> getCompressionCodec(session).getParquetCompressionCodec()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @ebyhr, do you think we should introduce 3 matching properties for write.[parquet|avro|orc].compression-codec in IcebergTableProperties instead? This seems to be a more idiomatic way of doing this now that I looked here again

Copy link
Member

Choose a reason for hiding this comment

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

I think so.

@ebyhr ebyhr mentioned this pull request Feb 4, 2025
@ebyhr ebyhr force-pushed the semionpar/iceberg-metadata-compression-codec branch from b743d37 to a64427d Compare February 4, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

2 participants