bharadwaj-pendyala commented on issue #2967:
URL: 
https://github.com/apache/datafusion-ballista/issues/2967#issuecomment-7241190219

   Reproduced on main (a67ca065) in a standalone test: Ballista returns `... 
Task failed due to runtime execution error: 
DataFusionError(Shared(External(ArrowError(DivideByZero))))`, plain DataFusion 
returns `Arrow error: Divide by zero error`, and `find_root()` on the Ballista 
error is the whole flattened `Execution` string.
   
   `impl From<BallistaError> for FailedTask` in `core/src/error.rs` uses 
`{other:?}`. Switching that to the `Display` of the innermost error, with 
`Shared`/`External` unwrapped the way `find_root` does, would make the message 
end in `Arrow error: Divide by zero error`. That's one file plus a test.
   
   Getting the original error back as the root on the client is a bigger 
change, since the task error reaches the client already joined with the stage 
and job text in one string. Is the message fix enough for the slt work, or do 
you want the root preserved too?
   


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