chenkovsky commented on code in PR #16097: URL: https://github.com/apache/datafusion/pull/16097#discussion_r2096658640
########## datafusion/core/src/physical_planner.rs: ########## @@ -1757,6 +1757,12 @@ impl DefaultPhysicalPlanner { ))); } + if !e.logical_optimization_succeeded { + if let Some(plan) = e.stringified_plans.last() { Review Comment: I modified implementation. If logical_optimization_succeeded is false. all stringified_plans will be returned. -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org