Re: [Flight] Consistency in C++ / Java error handling

2020-08-19 Thread Patrick Woody
may not be as portable, but that's > probably a ways off. > > Thanks, > David > > On 8/19/20, Patrick Woody wrote: > > Hey David, > > > > Appreciate the quick response! > > > > I had been doing it that way, but I found that If I was sending so

Re: [Flight] Consistency in C++ / Java error handling

2020-08-19 Thread Patrick Woody
; C++. If the above approach with CallStatus is incorrect for bringing extra data to the client then let me know. Best, Pat On Wed, Aug 19, 2020 at 12:59 PM David Li wrote: > Hey Patrick, > > How are you sending the error to the client from the server side? You > should be calling `listener.

[Flight] Consistency in C++ / Java error handling

2020-08-19 Thread Patrick Woody
Hey all, I'm working on a project that has a Java arrow flight server and has a pyarrow client, both version 1.0.0. I've been trying to get richer errors back to the python client instead of the generic "grpc error ...". I see that the spec explicitly doesn't try to define metadata: https://arrow