You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/13 12:50:33 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #2217: Add single line description of ExecutionPlan (#2216)

alamb commented on code in PR #2217:
URL: https://github.com/apache/arrow-datafusion/pull/2217#discussion_r849444284


##########
datafusion/core/src/physical_plan/display.rs:
##########
@@ -101,6 +101,32 @@ impl<'a> DisplayableExecutionPlan<'a> {
             show_metrics: self.show_metrics,
         }
     }
+
+    /// Return a single-line summary of the root of the plan
+    pub fn one_line(&self) -> impl fmt::Display + 'a {

Review Comment:
   ```suggestion
       // Example: `ProjectionExec: expr=[a@0 as a]`.
       pub fn one_line(&self) -> impl fmt::Display + 'a {
   ```



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