0x26res opened a new issue, #33975:
URL: https://github.com/apache/arrow/issues/33975
### Describe the bug, including details regarding any error messages,
version, and platform.
If I run this script:
```python
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
print("DONE")
```
It will print "DONE" but it never finishes, I have to do CTRL+C.
It's probably something to do with a daemon thread. I tried
`pq.read_table(buffer, use_threads=False)` and the process finishes cleanly.
This is on `pyarrow==11.0.0` but happens on older versions as well.
### 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]