yiteng-guo opened a new issue, #37487:
URL: https://github.com/apache/arrow/issues/37487

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```
   # test.py
   import pyarrow.dataset as pads
   
   ds = pads.dataset("/tmp/test.parq", format="parquet") # can be any parquet
   ds.count_rows(use_threads=False)
   ```
   `ARROW_IO_THREADS=1 python test.py` hangs forever. I traced this and it's 
stuck in `GetReader`.
   ```
   arrow::FutureImpl::Wait
   > arrow::dataset::ParquetFileFormat::GetReader
   > arrow::dataset::ParquetFileFragment::EnsureCompleteMetadata
   ```
   It works normally if I use any `ARROW_IO_THREADS` larger than 1. I 
reproduced this on mac with version `13.0.0` and linux with version `12.0.0`.
   
   ### Component(s)
   
   Python


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