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

GH-2962: Set dictionary_page_offset even when encoding_stats are missing #3012

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

mothukur
Copy link
Contributor

Rationale for this change

Currently dictionary page offset is not being set when there are no encoding statistics. This is creating problem while creating parquet files using the addRowGroup method in ParquetMetadataConverter

What changes are included in this PR?

Set dictionary_page_offset value when column has any dictionary pages.

Are these changes tested?

Yes

Are there any user-facing changes?

No

Closes #2962

Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

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

LGTM

@mothukur
Copy link
Contributor Author

@wgtmac could you merge this ?

@wgtmac wgtmac merged commit ac6a5a0 into apache:master Sep 24, 2024
9 checks passed
@wgtmac
Copy link
Member

wgtmac commented Sep 24, 2024

Just merged it. Thanks @mothukur!

@wgtmac wgtmac added this to the 1.15.0 milestone Sep 30, 2024
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.

Unable to set dictionary_page_offset when encoding_stats are missing
2 participants