0x26res commented on issue #33975:
URL: https://github.com/apache/arrow/issues/33975#issuecomment-1415441271
> Do you get a hang if you sleep for a few seconds after the read call
before you exit the process?
I tried, and indeed it won't hang if I put a sleep statement, and finish
cleanly.
```
from time import sleep
import pyarrow as pa
import pyarrow.parquet as pq
import io
table = pa.table({})
with io.BytesIO() as buffer:
pq.write_table(table, buffer, version="2.6")
buffer.seek(0)
pq.read_table(buffer) # this makes the process hang
sleep(2.0)
print("DONE")
```
--
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]