adriangb commented on code in PR #27736:
URL: https://github.com/apache/datafusion/pull/27736#discussion_r4716367182


##########
datafusion/datasource-parquet/src/source.rs:
##########
@@ -479,6 +485,21 @@ impl ParquetSource {
         self.table_parquet_options.global.enable_page_index
     }
 
+    /// Add a [`ParquetStatisticsResolver`], which provides statistics for
+    /// expressions such as `variant_get(v, 'a')` from Parquet leaf
+    /// statistics, so that predicates on them can prune row groups.
+    ///
+    /// The built-in resolver for struct fields is always present.
+    ///
+    /// [`ParquetStatisticsResolver`]: 
crate::statistics_resolver::ParquetStatisticsResolver
+    pub fn with_statistics_resolver(

Review Comment:
   We can add that API later and wire it just like the other similar options.



-- 
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]

Reply via email to