File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -1363,13 +1363,16 @@ func (builder *ExecutorBuilder) addColStoreReader(node *LogicalColumnStoreReader
1363
1363
}
1364
1364
}
1365
1365
1366
- func (builder * ExecutorBuilder ) isMultiMstPlanNode (node hybridqp.QueryNode ) bool {
1366
+ func (builder * ExecutorBuilder ) IsMultiMstPlanNode (node hybridqp.QueryNode ) bool {
1367
1367
if _ , ok := node .(* LogicalFullJoin ); ok {
1368
1368
return true
1369
1369
}
1370
1370
if _ , ok := node .(* LogicalSortAppend ); ok {
1371
1371
return true
1372
1372
}
1373
+ if _ , ok := node .(* LogicalBinOp ); ok {
1374
+ return true
1375
+ }
1373
1376
return false
1374
1377
}
1375
1378
@@ -1387,7 +1390,7 @@ func (builder *ExecutorBuilder) addDefaultNode(node hybridqp.QueryNode) (*Transf
1387
1390
continue
1388
1391
}
1389
1392
children = append (children , child )
1390
- if builder .isMultiMstPlanNode (node ) {
1393
+ if builder .IsMultiMstPlanNode (node ) {
1391
1394
builder .NextMst ()
1392
1395
}
1393
1396
}
Original file line number Diff line number Diff line change @@ -2109,3 +2109,9 @@ func TestExecutorBuilder_addPartitionExchange1(t *testing.T) {
2109
2109
pipelineExecutor := p .(* executor.PipelineExecutor )
2110
2110
require .Equal (t , pipelineExecutor .GetProcessors ().Empty (), true )
2111
2111
}
2112
+
2113
+ func TestIsMultiMstPlanNode (t * testing.T ) {
2114
+ node := & executor.LogicalBinOp {}
2115
+ builder := & executor.ExecutorBuilder {}
2116
+ assert .Equal (t , builder .IsMultiMstPlanNode (node ), true )
2117
+ }
You can’t perform that action at this time.
0 commit comments