Skip to content

Commit

Permalink
Update planner.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyass authored Oct 17, 2024
1 parent da0e406 commit 0c98073
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/query/sql/src/planner/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ use super::semantic::DistinctToGroupBy;
use crate::optimizer::optimize;
use crate::optimizer::OptimizerContext;
use crate::optimizer::QuerySampleExecutor;
use crate::plans::Insert;
use crate::plans::InsertInputSource;
use crate::plans::Plan;
use crate::Binder;
use crate::CountSetOps;
Expand Down Expand Up @@ -239,7 +237,7 @@ impl Planner {
planner_cache_key.as_ref().unwrap(),
stmt,
);
if let Some(mut plan) = plan {
if let Some(plan) = plan {
info!("logical plan from cache, time used: {:?}", start.elapsed());
// update for clickhouse handler
self.ctx
Expand Down

0 comments on commit 0c98073

Please sign in to comment.