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:
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
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:
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