From 879228ff2e71d8b9e5d0b43c0b3073c2f3dae78c Mon Sep 17 00:00:00 2001 From: dantengsky Date: Tue, 28 May 2024 17:53:32 +0800 Subject: [PATCH] reabase & fix clippy --- src/query/sql/src/planner/optimizer/optimizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/sql/src/planner/optimizer/optimizer.rs b/src/query/sql/src/planner/optimizer/optimizer.rs index 1ceb3803d1a3..661768d1c5fa 100644 --- a/src/query/sql/src/planner/optimizer/optimizer.rs +++ b/src/query/sql/src/planner/optimizer/optimizer.rs @@ -451,7 +451,7 @@ async fn optimize_merge_into(mut opt_ctx: OptimizerContext, plan: Box .table_ctx .get_settings() .get_enable_distributed_merge_into()?; - let mut new_columns_set = plan.columns_set.clone(); + let new_columns_set = plan.columns_set.clone(); if change_join_order && matches!(plan.merge_type, MergeIntoType::FullOperation) && opt_ctx