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

   @Abhinav-Agarwal021 @rui-mo 
   
   > Problem: runtime errors from Velox Spark functions reach users as 
SparkException: Job aborted ... GlutenException, without Spark's error class or 
SQLSTATE (for example DIVIDE_BY_ZERO / 22012).
   
   I recommend we clarify the problem first. I saw one good reason is for 
passing Spark test exception matcher, for which @pedrumj2 is driving on a fix, 
but in discussion https://github.com/apache/gluten/issues/13647 we already 
expected Spark can finally have a middle layer to let Gluten adapt. If we get 
the middle layer, then we can fix the test mismatching without Velox's change.
   
   Apart of https://github.com/apache/gluten/issues/13647, what's painful with 
the error message like `SparkException: Job aborted ... GlutenException`? If we 
just need it to be more readable, will such an exact Velox-to-Spark error code 
mapper be an overkill?


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