Uh oh!
There was an error while loading. Please reload this page.
ARROW-8112: [FlightRPC][C++] make sure status codes round-trip through gRPC - #6615
ARROW-8112: [FlightRPC][C++] make sure status codes round-trip through gRPC#6615lidavidm wants to merge 3 commits into
Conversation
lidavidm
commented
Mar 13, 2020
Python is failing and would be fixed by #6614 |
lidavidm
commented
Mar 13, 2020
@pitrou I implemented the headers idea you suggested. |
There was a problem hiding this comment.
Is this worth refactoring out into status.h?
There was a problem hiding this comment.
(this being the int<->statuscode mapping)
There was a problem hiding this comment.
Hmm... perhaps as a helper function?
There was a problem hiding this comment.
I've made a helper function, but kept it internal, since there doesn't seem to be a need to serialize statuses outside of Flight.
2dd7c89 to
d86276cComparelidavidm
commented
Mar 13, 2020
This is segfaulting in Python tests, taking a look... |
f3fe0db to
2b643fdCompare
pitrou
left a comment
There was a problem hiding this comment.
Thank you! This will be a useful improvement.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Hmm... perhaps as a helper function?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2b643fd to
2af6537Compare2af6537 to
da2b346Comparepitrou
commented
Mar 17, 2020
Thank you @lidavidm ! |
There are still unmapped status codes, but these are the ones that correspond closely to a gRPC one. (OutOfMemory, for instance, doesn't quite line up with RESOURCE_EXHAUSTED since the latter is intended for some application-level resource like a disk quota, not an internal server error.)