lhoestq commented on issue #45214:
URL: https://github.com/apache/arrow/issues/45214#issuecomment-2827241186

   This also causes `pyarrow.dataset.Dataset.to_batches()` to make the python 
script hang at the end:
   
   ```python
   import pyarrow.dataset as ds
   from huggingface_hub import HfFileSystem
   
   
   file = "hf://datasets/vevotx/Tahoe-100M/data/train-00000-of-03388.parquet"
   dataset = ds.dataset(file, format="parquet", filesystem=HfFileSystem())
   for record_batch in dataset.to_batches(batch_size=100):
       print(len(record_batch))  # 100
       break
   print("now hanging...")
   ```


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