You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "crepererum (via GitHub)" <gi...@apache.org> on 2023/06/20 08:23:52 UTC

[GitHub] [arrow-datafusion] crepererum commented on issue #6677: `Debug` impl `Expr` is lossy

crepererum commented on issue #6677:
URL: https://github.com/apache/arrow-datafusion/issues/6677#issuecomment-1598337024

   @parkma99 I think you have to fix the Rust code to not use `Debug` but `Display` for for the plan printers (`fmt_as`):
   
   - `SortMergeJoin`
   - `SortExec`
   - `RepartitionExec`
   - `ProjectionExec`
   
   Here is one example fix:
   
   https://github.com/apache/arrow-datafusion/blob/d29ab931506f23d8ef8fcd48ae523adfd3c07d6a/datafusion/core/src/physical_plan/repartition/mod.rs#L447-L462
   
   `partitioning={:?}` should be `partitioning={}`. However `Partitioning` doesn't implement `Display` yet, so you probably wanna hand-roll that.
   
   Similar fixes are required for the other exec nodes.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org