New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-16069: [C++][FlightRPC] Refactor out gRPC error code handling #12749
Conversation
|
TODOs:
|
CC @cyb70289, this addresses the error handling questions from the last PR by refactoring out the gRPC implementation for UCX to use. |
Benchmark runs are scheduled for baseline = 62d0b17 and contender = fc9af3c. fc9af3c is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
@lidavidm It seems that this breaks CI on macOS: https://github.com/ursacomputing/crossbow/runs/6038992284?check_suite_focus=true#step:6:5601
Could you confirm this? |
I can't reproduce it right away with Clang 12 locally (on Linux), but regardless we can fix that. Thanks for catching this Kou. See #12903. |
@github-actions crossbow submit python-sdist |
Revision: a00113b Submitted crossbow builds: ursacomputing/crossbow @ actions-1867
|
@@ -355,17 +355,20 @@ def slow_stream(): | |||
class ErrorFlightServer(FlightServerBase): | |||
"""A Flight server that uses all the Flight-specific errors.""" | |||
|
|||
errors = { | |||
"internal": flight.FlightInternalError, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lidavidm flight
is None
when we don't enable Flight.
See also: https://github.com/ursacomputing/crossbow/runs/6046421802?check_suite_focus=true#step:6:2372
==================================== ERRORS ====================================
_ ERROR collecting usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_flight.py _
usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_flight.py:355: in <module>
class ErrorFlightServer(FlightServerBase):
usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_flight.py:359: in ErrorFlightServer
"internal": flight.FlightInternalError,
E AttributeError: 'NoneType' object has no attribute 'FlightInternalError'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that. See #12911/ARROW-16216.
No description provided.