bharadwaj-pendyala commented on PR #2911:
URL: 
https://github.com/apache/datafusion-ballista/pull/2911#issuecomment-7091241723

   Done in fa96200c. Both `DistributedQueryExec` logical plan paths in 
`codec.rs` now add context instead of wrapping the cause in `Internal`, and the 
prost `encode` errors stay as they were. I added an encode test and a decode 
test. Both failed before and pass now. CI doesn't `cargo test` the python 
crate, so I ran its 9 lib tests locally.
   
   One catch: the only production caller goes through 
`FFI_PhysicalExtensionCodec`, which passes errors across as 
`ffi_err!("{err}")`. So from Python you get the cleaner message, without the 
`Internal error:` prefix or the footer, but `find_root` still can't reach the 
cause.
   


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