Skip to content

[FlightRPC][C++] Some status codes don't round-trip through gRPC #24321

Closed

Description

@asfimport

KeyError and AlreadyExists don't fully round-trip, instead becoming UNKNOWN. There are others, but we don't attempt to map all the Arrow status to a gRPC status, only the ones that closely correspond to a gRPC error. 

Reporter: David Li / @lidavidm
Assignee: David Li / @lidavidm

PRs and other links:

Note: This issue was originally created as ARROW-8112. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Mar 13, 2020

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    Is it reasonably possible to pass the Status code on the side, e.g. as a custom HTTP header? Or is that impossible/too much work?

  2. asfimport commented on Mar 13, 2020

    @asfimport
    Author

    David Li / @lidavidm:
    Yes, it's possible to pass custom headers @pitrou. But if we value "it looks like plain gRPC" we should try to map to and from gRPC codes IMO.

  3. asfimport commented on Mar 13, 2020

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    Well, we can do both: map as much as we can for third-party clients (as a best effort), but also pass a custom header for the Arrow C++ client to read from and faithfully reproduce the original error.

  4. asfimport commented on Mar 13, 2020

    @asfimport
    Author

    David Li / @lidavidm:
    Sure, that makes sense. Let me open a separate issue so that we can track the cross-language work.

  5. asfimport commented on Mar 13, 2020

    @asfimport
    Author

    David Li / @lidavidm:
    Oh, wait, no, that only makes sense in C++.

  6. asfimport commented on Mar 17, 2020

    @asfimport
    Author

    Antoine Pitrou / @pitrou:
    Issue resolved by pull request 6615
    #6615

  7. added this to the 0.17.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions