pitrou commented on code in PR #37822:
URL: https://github.com/apache/arrow/pull/37822#discussion_r1344278839
##########
python/pyarrow/parquet/core.py:
##########
@@ -329,6 +330,9 @@ def __init__(self, source, *, metadata=None,
common_metadata=None,
decryption_properties=None, thrift_string_size_limit=None,
thrift_container_size_limit=None, filesystem=None):
+ if pre_buffer and not is_threading_enabled():
+ pre_buffer = False
Review Comment:
I am not sure why we are doing this in many different places. Presumably,
this could only be done somewhere at the bottom of the call stack.
--
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]