Skip to content

Commit

Permalink
Avoid early optimization which is duplicate.
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Nov 17, 2021
1 parent a656b44 commit fe8445d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions datafusion/src/execution/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,7 @@ impl ExecutionContext {
}
}

plan => Ok(Arc::new(DataFrameImpl::new(
self.state.clone(),
&self.optimize(&plan)?,
))),
plan => Ok(Arc::new(DataFrameImpl::new(self.state.clone(), &plan))),
}
}

Expand Down

0 comments on commit fe8445d

Please sign in to comment.