Skip to content

Split FileStreamMetrics into its own module#21340

Merged
comphead merged 3 commits intoapache:mainfrom
alamb:alamb/move_file_scan_metrics
Apr 3, 2026
Merged

Split FileStreamMetrics into its own module#21340
comphead merged 3 commits intoapache:mainfrom
alamb:alamb/move_file_scan_metrics

Conversation

@alamb
Copy link
Copy Markdown
Contributor

@alamb alamb commented Apr 3, 2026

Which issue does this PR close?

Rationale for this change

@Dandandan, @adriangb and I are in the process of significantly reworking how FileStream works internally (morsels!)

As the FileStream will get more complicated, it needs a better structure than one giant module to ensure we can work with it. I am trying to do this as incremental PRs to keep review burden low

What changes are included in this PR?

  1. Move FileStreamMetrics to its own module

Are these changes tested?

Yes by CI

Are there any user-facing changes?

No, just internal code motion

@github-actions github-actions bot added the datasource Changes to the datasource crate label Apr 3, 2026
}

/// A timer that can be started and stopped.
pub struct StartableTime {
Copy link
Copy Markdown
Contributor Author

@alamb alamb Apr 3, 2026

Choose a reason for hiding this comment

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

This code is just moved into its own module in the first commit

I also had to touch up the links in the documentation which I did in its own commit for easier review

Copy link
Copy Markdown
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

Thanks, makes a lot of sense

@comphead comphead added this pull request to the merge queue Apr 3, 2026
Merged via the queue into apache:main with commit e1c5453 Apr 3, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datasource Changes to the datasource crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants