superserious-dev opened a new pull request, #7492:
URL: https://github.com/apache/arrow-rs/pull/7492

   # Which issue does this PR close?
   Closes #7329 .
   
   # Rationale for this change
    When executing a `do_put` call, there are currently 2 cases that will cause 
the FlightSQL server to panic:
   - the request stream is empty
   - the first element of the request stream is an Err
   
   This change stops the FlightSQL server from panicking in both cases.
   
   # Are there any user-facing changes?
   
   - If the client sends an empty request stream, the server reports that 0 
records were affected.
   - If the client sends a stream where the first element is an Err, the Err is 
reported back by the client and stream processing stops. This is the same as 
the current behavior when the Err is not the first element.
   
   The server does not panic in either case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to