milenkovicm commented on code in PR #1498:
URL:
https://github.com/apache/datafusion-ballista/pull/1498#discussion_r2917270477
##########
ballista/scheduler/src/state/mod.rs:
##########
@@ -443,11 +443,16 @@ impl<T: 'static + AsLogicalPlan, U: 'static +
AsExecutionPlan> SchedulerState<T,
None
};
+ let logical_plan_str = plan.display_indent().to_string();
+
let plan = session_ctx.state().create_physical_plan(plan).await?;
debug!(
"Physical plan: {}",
DisplayableExecutionPlan::new(plan.as_ref()).indent(false)
);
+ let physical_plan_str = DisplayableExecutionPlan::new(plan.as_ref())
+ .indent(false)
+ .to_string();
let plan = plan.transform_down(&|node: Arc<dyn ExecutionPlan>| {
Review Comment:
plan may change later, but that will be reflected in staged_plan, this is
just initial plan which is submitted
--
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]