alamb commented on code in PR #13210:
URL: https://github.com/apache/datafusion/pull/13210#discussion_r1826970119
##########
datafusion/core/src/physical_planner.rs:
##########
@@ -1792,11 +1792,19 @@ impl DefaultPhysicalPlanner {
Err(e) => return Err(e),
}
}
- Err(e) => stringified_plans
- .push(StringifiedPlan::new(InitialPhysicalPlan,
e.to_string())),
+ Err(err) => {
+ return Ok(Some(Arc::new(ExplainExec::new(
+
SchemaRef::new(Schema::new(vec![arrow_schema::Field::new(
Review Comment:
I think this change means that the explain will not have the logical plan,
but instead will have only the error message for creating the physical plan as
the "Final Logical Plan"
--
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]