zhztheplayer commented on issue #13685:
URL: https://github.com/apache/gluten/issues/13685#issuecomment-7060852784

   @rui-mo @felipepessoto Thanks for the clarification.
   
   > PySpark: PySpark maps exceptions based on their Java types. In vanilla 
Spark 4, except ArithmeticException catches division-by-zero errors. With 
Gluten, it doesn't, and users get a raw Py4JJavaError instead.
   JDBC/ODBC and Spark Connect: Clients don't receive SQLSTATE or error 
conditions.
   
   > A scenario I’d add is user code that handles exceptions and can take 
different code path depending on the exception type
   
   These are decent reasons. Trade-off is how we carry Spark exception code 
forward in Velox, and whether the alginment worths the workload we put in 
Velox. 
   
   Kindly keep in mind that we have multiple Spark versions supported by one 
single piece of Velox code so extract maintainence work could also fall in 
Gluten or its shim layer as well.


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