I am writing a Flight server using pyarrow.flight. I want the client to
receive INVALID_ARGUMENT status code when it sends an invalid ticket to the
server. I see that there are some FlightError subclasses that are
associated with status codes, but the set of covered status codes is
incomplete. It feels awkward to rely on exceptions to control the server's
response instead of explicitly aborting the Flight with a status code. Do I
misunderstand how this ought to work? If pyarrow.flight is missing
something, I am willing to contribute.

Thanks in advance for any help!
Steve

Reply via email to