Skip to content

GH-3215: Make the order of encodings in column metadata deterministic #3216

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

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

Conversation

handmadecode
Copy link

Rationale for this change

Two processes running the same version of parquet-java and having identical writer configurations can still produce files that are different at the binary level for the exact same written data.

What changes are included in this PR?

A single line added to org.apache.parquet.format.converter.ParquetMetadataConverter::toFormatEncodings

Are these changes tested?

A unit test is provided. I have tested this in a custom built parquet-java with our production code for several months.

Are there any user-facing changes?

No

Closes #${3215}

…eated by org.apache.parquet.format.converter.ParquetMetadataConverter::toFormatEncodings
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