jychen7 edited a comment on issue #2109:
URL: 
https://github.com/apache/arrow-datafusion/issues/2109#issuecomment-1083882640


   interesting, from the `master` branch as of now, the default `1000` is set 
in `CsvReadOptions` and should be passed when converted `CsvReadOptions` to 
`ListingOptions`
   
https://github.com/apache/arrow-datafusion/blob/c43b9ab9922ccbaaf6fe6f27e3d31201989edb1e/datafusion/core/src/execution/options.rs#L56-L66
   
https://github.com/apache/arrow-datafusion/blob/c43b9ab9922ccbaaf6fe6f27e3d31201989edb1e/datafusion/core/src/execution/options.rs#L106-L114
   
   However, during DDL, the context use `CsvFormat::default()` directly, 
without CsvReadOptions to generate `ListingOptions`.
   
https://github.com/apache/arrow-datafusion/blob/c43b9ab9922ccbaaf6fe6f27e3d31201989edb1e/datafusion/core/src/execution/context.rs#L220-L223
   
https://github.com/apache/arrow-datafusion/blob/c43b9ab9922ccbaaf6fe6f27e3d31201989edb1e/datafusion/core/src/execution/context.rs#L239-L245
   
   ---
   
   Haven't read 6.0.0 about why it is fast


-- 
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-unsubscr...@arrow.apache.org

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


Reply via email to