xudong963 commented on code in PR #15852:
URL: https://github.com/apache/datafusion/pull/15852#discussion_r2062983955
##########
datafusion/physical-plan/src/execution_plan.rs:
##########
@@ -430,6 +430,32 @@ pub trait ExecutionPlan: Debug + DisplayAs + Send + Sync {
Ok(Statistics::new_unknown(&self.schema()))
}
+ /// Returns statistics for a specific partition of this `ExecutionPlan`
node.
+ /// If statistics are not available, should return
[`Statistics::new_unknown`]
+ /// (the default), not an error.
+ /// If `partition` is `None`, it returns statistics for the entire plan.
+ fn partition_statistics(&self, partition: Option<usize>) ->
Result<Statistics> {
Review Comment:
Done in
https://github.com/apache/datafusion/pull/15852/commits/b1f701f7a0f396d592159206f517b89c8596777b
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]