asolimando commented on code in PR #25689:
URL: https://github.com/apache/datafusion/pull/25689#discussion_r4097838685
##########
datafusion/physical-plan/src/statistics.rs:
##########
@@ -170,6 +170,39 @@ impl StatisticsContext {
///
/// With no providers registered this is the plain built-in walk: only the
/// `statistics` cache is touched, so it carries no extension overhead.
+ ///
+ /// # Example
+ ///
+ /// ```
+ /// use std::sync::Arc;
+ /// use arrow::datatypes::{DataType, Field, Schema};
+ /// use datafusion_common::Statistics;
+ /// use datafusion_common::stats::Precision;
+ /// use datafusion_physical_plan::statistics::{StatisticsArgs,
StatisticsContext};
+ /// use datafusion_physical_plan::test::exec::StatisticsExec;
Review Comment:
Thanks for the suggestion, I didn't know that trick!
--
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]