File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ impl Interpreter for MergeIntoInterpreter {
94
94
#[ async_backtrace:: framed]
95
95
async fn execute2 ( & self ) -> Result < PipelineBuildResult > {
96
96
let ( physical_plan, _) = self . build_physical_plan ( ) . await ?;
97
+
97
98
let mut build_res =
98
99
build_query_pipeline_without_render_result_set ( & self . ctx , & physical_plan) . await ?;
99
100
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ use databend_common_pipeline_core::processors::PlanScope;
24
24
use databend_common_pipeline_core:: processors:: PlanScopeGuard ;
25
25
use databend_common_pipeline_core:: Pipeline ;
26
26
use databend_common_settings:: Settings ;
27
+ use databend_common_sql:: binder:: MergeIntoType ;
27
28
use databend_common_sql:: executor:: PhysicalPlan ;
28
29
use databend_common_sql:: IndexType ;
29
30
@@ -98,6 +99,9 @@ impl PipelineBuilder {
98
99
pub ( crate ) fn add_plan_scope ( & mut self , plan : & PhysicalPlan ) -> Result < Option < PlanScopeGuard > > {
99
100
match plan {
100
101
PhysicalPlan :: EvalScalar ( v) if v. exprs . is_empty ( ) => Ok ( None ) ,
102
+ PhysicalPlan :: MergeIntoSource ( v) if v. merge_type != MergeIntoType :: FullOperation => {
103
+ Ok ( None )
104
+ }
101
105
_ => {
102
106
let desc = plan. get_desc ( ) ?;
103
107
let plan_labels = plan. get_labels ( ) ?;
You can’t perform that action at this time.
0 commit comments