grundprinzip opened a new pull request, #43667:
URL: https://github.com/apache/spark/pull/43667

   ### What changes were proposed in this pull request?
   This patch optimizes the handling of errors reported back to Python. First, 
it properly allows the extraction of the `ERROR_CLASS` and the `SQL_STATE` and 
gives simpler accces to the stack trace.
   
   It therefore makes sure that the display of the stack trace is no longer 
only server-side decided but becomes a local usability property.
   
   In addition the following methods on the `SparkConnectGrpcException` become 
actually useful:
   
   * `getSqlState()`
   * `getErrorClass()`
   * `getStackTrace()`
   
   ### Why are the changes needed?
   Compatibility
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Updated the existing tests.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to