Skip to content

[AURON #1834] Support DataSourceScan metrics#1835

Merged
richox merged 1 commit intoapache:masterfrom
XorSum:data-source-scan-metrics
Jan 7, 2026
Merged

[AURON #1834] Support DataSourceScan metrics#1835
richox merged 1 commit intoapache:masterfrom
XorSum:data-source-scan-metrics

Conversation

@XorSum
Copy link
Contributor

@XorSum XorSum commented Jan 5, 2026

Which issue does this PR close?

Closes #1834

Rationale for this change

What changes are included in this PR?

Added metrics Native.partitions_read and Native.files_read

截屏2026-01-05 16 46 33

Are there any user-facing changes?

How was this patch tested?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for tracking partitions and files read during native file scans by introducing two new metrics: Native.partitions_read and Native.files_read. These metrics are computed at driver side during the initialization of the file scan RDD and posted to the SQL execution UI.

Key changes:

  • Added two new metrics to NativeFileSourceScanBase: numPartitions and numFiles
  • Metrics are computed from the underlying FileScanRDD structure and posted using driver metric updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@richox richox merged commit 816a7d0 into apache:master Jan 7, 2026
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support DataSourceScan metrics

5 participants