lmocsi commented on issue #37802:
URL: https://github.com/apache/arrow/issues/37802#issuecomment-1737662214

   The bug seems to be in the to_polars() method:
   
   Traceback (most recent call last):
     File "/tmp/1000920000/ipykernel_14253/1035655516.py", line 1, in <module>
       dataset.to_table(filter=ds.field('MONTH_CODE') == 
'M999912').to_polars().head()
     File "pyarrow/_dataset.pyx", line 556, in pyarrow._dataset.Dataset.to_table
     File "pyarrow/_dataset.pyx", line 3638, in 
pyarrow._dataset.Scanner.to_table
     File "pyarrow/error.pxi", line 144, in 
pyarrow.lib.pyarrow_internal_check_status
     File "pyarrow/error.pxi", line 117, in pyarrow.lib.check_status
   pyarrow.lib.ArrowMemoryError: malloc of size 201326592 failed
   
   The M999912 partition is less than 6 GB on disk (in parquet).
   


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