tritzman opened a new issue, #41296:
URL: https://github.com/apache/arrow/issues/41296
### Describe the bug, including details regarding any error messages,
version, and platform.
pyarrow 15.0.2 (Linux and Windows, Python 3.11 and 3.12)
Running the demo at python/examples/dataset/write_dataset_encrypted.py
If I run the demo as-is, it runs successfully.
If I modify the demo to repeat the print at the end (call another print),
Python panic-exits with a seg fault.
```
print(dataset.to_table()) #prints OK
print(dataset.to_table()) #segfault
````
Reloading the dataset results does reset the system
```
print(dataset.to_table()) #prints OK
dataset = ds.dataset('sample_dataset', format=pformat)
print(dataset.to_table()) #prints OK
print(dataset.to_table()) #segfault
```
Not sure why a second .to_table operation on the dataset would cause this.
### Component(s)
Parquet, 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]