rdbisme commented on issue #37888:
URL: https://github.com/apache/arrow/issues/37888#issuecomment-1764202414

   As a workaround, wrapping the `read_parquet` call with `fsspec` works: 
   
   ```
   _native_read_parquet = pd.read_parquet
   
   
   def read_parquet(f, *args, **kwargs):
       if isinstance(f, BytesIO):
           return _native_read_parquet(f, *args, **kwargs)
   
       kwargs.pop("filesystem", None)
       fs = fsspec.open(f).fs
       return _native_read_parquet(f, filesystem=fs, *args, **kwargs)
   
   
   pd.read_parquet = read_parquet
   ```
   
   but it's probably slower and more memory hungry. 


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