You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/27 17:37:06 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #3986: Add TableProvider.statistics method

alamb commented on code in PR #3986:
URL: https://github.com/apache/arrow-datafusion/pull/3986#discussion_r1007180678


##########
datafusion/core/src/datasource/datasource.rs:
##########
@@ -77,6 +78,11 @@ pub trait TableProvider: Sync + Send {
     ) -> Result<TableProviderFilterPushDown> {
         Ok(TableProviderFilterPushDown::Unsupported)
     }
+
+    /// Get statistics for this table, if available
+    fn statistics(&self) -> Option<Statistics> {

Review Comment:
   I wonder if any of the built in providers can give statistic (I am thinking Parquet) 🤔  
   
   Definitely something for a follow on PR



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org