Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16023

[FlightRPC][Python] Differentiate between intentional and unintentional errors in server RPC handlers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • FlightRPC, Python
    • None

    Description

      Right now, in Python, to signal an error to the client, you raise an exception. But some exceptions are unintentional, and for development/monitoring purposes, it would be good to log them. There's no way to differentiate between the two.

      ARROW-15909 tries to log some exceptions and filter out ones that would just be noise, but a better long-term solution would be to mimic gRPC/Java and provide an error callback to explicitly signal that we want to raise an error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lidavidm David Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: