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

Add partitions_scanned and partitions_total to Statistics #3906

Closed
Tracked by #3428
BohuTANG opened this issue Jan 19, 2022 · 1 comment · Fixed by #3909
Closed
Tracked by #3428

Add partitions_scanned and partitions_total to Statistics #3906

BohuTANG opened this issue Jan 19, 2022 · 1 comment · Fixed by #3909
Assignees
Labels
A-query Area: databend query good first issue Category: good first issue

Comments

@BohuTANG
Copy link
Member

After #3903 checked in, we should add partitions_scanned and partitions_total to Statistics

pub struct Statistics {
and show them in the explain:

write!(
f,
"ReadDataSource: scan partitions: [{}], scan schema: {}, statistics: [read_rows: {:?}, read_bytes: {:?}]",
plan.parts.len(),
PlanNode::display_scan_fields(&plan.scan_fields()),
plan.statistics.read_rows,
plan.statistics.read_bytes,

@BohuTANG BohuTANG added A-query Area: databend query good first issue Category: good first issue labels Jan 19, 2022
@BohuTANG BohuTANG self-assigned this Jan 19, 2022
@BohuTANG
Copy link
Member Author

Let me take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query good first issue Category: good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant