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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to