Skip to content

AddFiles: extract bounded async task plumbing and Parquet footer reads - #39896

Merged
claudevdm merged 3 commits into
apache:masterfrom
claudevdm:extract-footer-reads
Aug 27, 2026
Merged

AddFiles: extract bounded async task plumbing and Parquet footer reads#39896
claudevdm merged 3 commits into
apache:masterfrom
claudevdm:extract-footer-reads

Conversation

@claudevdm

Copy link
Copy Markdown
Collaborator

ConvertToDataFile ran its per-file work (footer read, metrics, partition
resolution) on a private thread pool.

This change moves that queue into BoundedAsyncTasks and the footer read
into ParquetFooters so the upcoming schema pre-pass (a second DoFn that
reads every Parquet footer) can share both instead of copying them.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

claudevdm and others added 2 commits August 26, 2026 16:49
ConvertToDataFile ran its per-file work (footer read, metrics, partition
resolution) on a private thread pool.

This change moves that queue into BoundedAsyncTasks and the footer read
into ParquetFooters so the upcoming schema pre-pass (a second DoFn that
reads every Parquet footer) can share both instead of copying them.
@claudevdm
claudevdm marked this pull request as ready for review August 26, 2026 18:33
@claudevdm
claudevdm requested a review from chamikaramj August 26, 2026 18:34

@chamikaramj chamikaramj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@claudevdm
claudevdm requested a review from chamikaramj August 27, 2026 17:15

@chamikaramj chamikaramj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@claudevdm
claudevdm merged commit 34a00c7 into apache:master Aug 27, 2026
22 checks passed
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.

2 participants