rustyconover opened a new issue, #46481:
URL: https://github.com/apache/arrow/issues/46481
### Describe the bug, including details regarding any error messages,
version, and platform.
Hi Arrow Team,
I ran into an issue when calling flight.FlightInfo with a None schema. The
following minimal example causes a segmentation fault:
```python
import pyarrow.flight as flight
flight.FlightInfo(
None,
flight.FlightDescriptor.for_path("foo"),
[],
-1,
-1
)
```
This was tested with pyarrow 20.0.0.
It looks like the crash occurs because None is passed instead of a valid
Schema. It would be great if this could raise a Python exception instead of
causing a segfault.
Thank you.
### Component(s)
FlightRPC
--
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]