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-3074: read footer using 1 call readFully(byte[8]) instead of 5 calls #3075

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

Conversation

Arnaud-Nauwynck
Copy link

GH-3074: read footer using 1 call readFully(byte[8]) instead of 5 calls

Rationale for this change

performance

What changes are included in this PR?

only method FilePargetReader.readFooter()

Are these changes tested?

Are there any user-facing changes?

no

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.

Thanks for the improvement! Please make the CI happy.

@wgtmac
Copy link
Member

wgtmac commented Nov 28, 2024

Could you try to rebase it? I think the CI failure is due to based on a problematic commit.

Copy link
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

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

LGTM, at least for now.

Parquet 3.0 is going to add some bytes between the metadata length and MAGIC; I don't know if there is anything extra which could be done here.

I think we could start with some test files which already have this new marker and use parsing that as regression testing

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.

3 participants