Skip to content

Commit

Permalink
Update planner/core/common_plans.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fzzf678 authored Mar 14, 2023
1 parent 2899d22 commit 7102df9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions planner/core/common_plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,7 @@ func containShuffleOperator(p Plan) bool {
return false
}
for _, child := range physicalPlan.Children() {
childContainTableDual = childContainTableDual || containShuffleOperator(child)
if childContainTableDual {
if containShuffleOperator(child) {
return true
}
}
Expand Down

0 comments on commit 7102df9

Please sign in to comment.