Skip to content

Commit

Permalink
Update planner/core/plan_cache.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fzzf678 authored Mar 14, 2023
1 parent 366720c commit b13d6e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions planner/core/plan_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,8 @@ func containShuffleOperator(p PhysicalPlan) bool {
if _, isShuffleRecv := p.(*PhysicalShuffleReceiverStub); isShuffleRecv {
return true
}
childContainTableDual := false
for _, child := range p.Children() {
childContainTableDual = childContainTableDual || containShuffleOperator(child)
if childContainTableDual {
if containShuffleOperator(child) {
return true
}
}
Expand Down

0 comments on commit b13d6e5

Please sign in to comment.