asolimando commented on code in PR #21815:
URL: https://github.com/apache/datafusion/pull/21815#discussion_r3268919292
##########
datafusion/physical-plan/src/execution_plan.rs:
##########
@@ -563,6 +569,30 @@ pub trait ExecutionPlan: Any + Debug + DisplayAs + Send +
Sync {
Ok(Arc::new(Statistics::new_unknown(&self.schema())))
}
+ /// Returns statistics for a specific partition of this `ExecutionPlan`
node.
Review Comment:
Thanks a lot @alamb, I was aiming at something similar with
`StatisticsContext`, having already in mind the integration of
`ExpressionAnalyzer` and `StatisticsRegistry` from
https://github.com/apache/datafusion/pull/21122 and
https://github.com/apache/datafusion/pull/21483, respectively, but your
proposal reads better.
I hope I have captured your suggestion correctly in bc32cf2.
--
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]