nonatomiclabs opened a new issue, #39440: URL: https://github.com/apache/arrow/issues/39440
### Describe the bug, including details regarding any error messages, version, and platform. ## Description I had issues finding good examples of how to use `make_write_options` and ended up calling it without having instantiated the `ParquetFileFormat`, which resulted in a segmentation fault: ```python >>> import pyarrow.dataset >>> pyarrow.dataset.ParquetFileFormat.make_write_options(42) [1] 64569 segmentation fault python ``` ## Expected behavior Even though the way I called the method was nonsense, I'm guessing there could be better error handling than a segfault 🙂 ## Additional information - The issue happens regardless of the parameters passed (as long as there is at least one) - Tested on Python 3.11.6 and 3.8.14 - PyArrow version 14.0.2 - macOS 14.2 ARM ### 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]
