You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/10/17 14:31:00 UTC

[jira] [Resolved] (ARROW-6884) [Python][Flight] Make server-side RPC exceptions more friendly?

     [ https://issues.apache.org/jira/browse/ARROW-6884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved ARROW-6884.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 5662
[https://github.com/apache/arrow/pull/5662]

> [Python][Flight] Make server-side RPC exceptions more friendly?
> ---------------------------------------------------------------
>
>                 Key: ARROW-6884
>                 URL: https://issues.apache.org/jira/browse/ARROW-6884
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: FlightRPC, Python
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Here is what an error looks like when a client RPC fails in the server
> {code}
> E   pyarrow.lib.ArrowException: Unknown error: gRPC returned unknown error, with message: a bytes-like object is required, not 'str'
> E   In ../src/arrow/python/flight.cc, line 201, code: CheckPyError(). Detail: Python exception: TypeError
> {code}
> The "line 201, code:" business is added by -DARROW_EXTRA_ERROR_CONTEXT=ON so the normal use won't see this
> It might be nice to re-raise the same exception type in the client with some extra context added to make clear that it is a server-side error



--
This message was sent by Atlassian Jira
(v8.3.4#803005)