Skip to content

GH-3697: Reuse hadoop file status and footer in ParquetRecordReader - #3698

Open
steveloughran wants to merge 2 commits into
apache:masterfrom
steveloughran:GH-2415-reuse-footer
Open

GH-3697: Reuse hadoop file status and footer in ParquetRecordReader#3698
steveloughran wants to merge 2 commits into
apache:masterfrom
steveloughran:GH-2415-reuse-footer

Conversation

@steveloughran

Copy link
Copy Markdown
Contributor

Contains contributions by Claude.ai (rebasing; junit5/assertj migration)

Contributed by @wankunde; made current by claude.

Rationale for this change

HTTP HEAD is expensive, slow and comes out of your quota of a few thousand reads/second

What changes are included in this PR?

The InputFile used when reading a file footer is cached in the input split, so all splits read in the same process only will use that and any cached FileStatus when opening the file. This saves a HEAD against s3, azure and gcs on every split read within that process.

Are these changes tested?

new test, otherwise all internal.

Are there any user-facing changes?

no

Closes #3697

wankunde and others added 2 commits July 30, 2026 14:27
…ader

- Ignore InputFile field in ShowFooterCommand
- Create ParquetFileReader with InputFile instead of HadoopInputFile

Was PARQUET-2415

Contains contributions by Claude.ai (rebasing; junit5/assertj migration)

Contributed by wankunde
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.

Reuse hadoop file status and footer in ParquetRecordReader

2 participants