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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mothukur
Copy link

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

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