liukun4515 commented on a change in pull request #1317:
URL: https://github.com/apache/arrow-datafusion/pull/1317#discussion_r750937810
##########
File path: datafusion/src/execution/context.rs
##########
@@ -650,28 +651,23 @@ impl ExecutionContext {
/// Optimizes the logical plan by applying optimizer rules.
pub fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan> {
- if let LogicalPlan::Explain {
- verbose,
- plan,
- stringified_plans,
- schema,
- } = plan
- {
- let mut stringified_plans = stringified_plans.clone();
+ if let LogicalPlan::Explain(e) = plan {
Review comment:
same comments like above.
--
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]