You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/09/25 10:17:58 UTC
[GitHub] [arrow] jorisvandenbossche commented on issue #36765: [Python][Dataset][Parquet] Enable Pre-Buffering by default for Parquet s3 datasets
jorisvandenbossche commented on issue #36765:
URL: https://github.com/apache/arrow/issues/36765#issuecomment-1733375154
I was chatting about this issue with some people at PyData Amsterdam, and was planning to make a PR to just switch the default when back, so here it is: https://github.com/apache/arrow/pull/37854
That's only changing the default for Python (`pyarrow.dataset`), but should we also change the default in C++?
From a basic check, it seems the R code already sets it by default (this was changed a while ago in https://github.com/apache/arrow/pull/11386).
I noticed that the R PR was also setting the `cache_options` to `LazyDefaults`. That's then also something we want to change in the Python/C++ side? (current default is `CacheOptions::Defaults()`)
Another useful reference for the above discussion is https://github.com/apache/arrow/issues/28218 (https://issues.apache.org/jira/browse/ARROW-12428), where @lidavidm did some benchmarks with pre_buffer enabled/disabled, and which was the reason for exposing the pre_buffer option in `pyarrow.parquet` with a default of True (https://github.com/apache/arrow/pull/10074)
--
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