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/09/28 22:46:43 UTC

[GitHub] [arrow-datafusion] mateuszkj commented on pull request #3649: Cache collected file statistics

mateuszkj commented on PR #3649:
URL: https://github.com/apache/arrow-datafusion/pull/3649#issuecomment-1261539945

   JYI, collecting statistics is disabled when creating table from SQL (`CREATE EXTERNAL TABLE ..`), it's different behavior when using function `SessionContext.register_parquet(..)` where collecting statistics is enabled.
   
   https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/execution/context.rs#L507 -> `collect_stat: false`
   
   https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/execution/options.rs#L195 -> `collect_stat: true`
   
   I'm not sure if it's intended.


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