MaxGekk commented on PR #44581:
URL: https://github.com/apache/spark/pull/44581#issuecomment-1877121814

   > It's more scary to lose the error class name and parameters, which are 
likely consumed by programs.
   
   This is arguable. I guess user's code probably depends on `SQLSTATE` and 
wanna see the error message. You cannot get `SQLSTATE` for unknown error class 
in any case, but the message (it is original message from the server side w/ 
error class + message + SQLSTATE) can be displayed to users from the legacy 
error.


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