kou commented on code in PR #37822:
URL: https://github.com/apache/arrow/pull/37822#discussion_r1622131589


##########
python/pyarrow/_dataset_parquet.pyx:
##########
@@ -737,6 +737,8 @@ cdef class ParquetFragmentScanOptions(FragmentScanOptions):
             new CParquetFragmentScanOptions()))
         self.use_buffered_stream = use_buffered_stream
         self.buffer_size = buffer_size
+        if pre_buffer and not is_threading_enabled():
+            pre_buffer=False

Review Comment:
   @jorisvandenbossche Is there a linter that can detect this style mismatch?
   
   ```suggestion
               pre_buffer = False
   ```



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