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

ARROW-16983: [Go][Parquet] fix EstimatedDataEncodedSize of DeltaByteArrayEncoder #13522

Merged
merged 1 commit into from Jul 6, 2022
Merged

ARROW-16983: [Go][Parquet] fix EstimatedDataEncodedSize of DeltaByteArrayEncoder #13522

merged 1 commit into from Jul 6, 2022

Conversation

mdepero
Copy link
Contributor

@mdepero mdepero commented Jul 5, 2022

DeltaByteArrayEncoder extends encoder which calculates EstimatedDataEncodedSize() by calling Len() on its sink. DeltaByteArrayEncoder however does not write its data out to sink, instead writing out to prefixEncoder and suffixEncoder, causing EstimatedDataEncodedSize to always return zero, resulting in FlushCurrentPage never being called.

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

LGTM Thanks!

@zeroshade zeroshade merged commit 8abb941 into apache:master Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants