Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Jun 19, 2024
1 parent 92329c8 commit 79c31a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/planner/core/exhaust_physical_plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -3578,6 +3578,7 @@ func (la *LogicalAggregation) ExhaustPhysicalPlans(prop *property.PhysicalProper
}

preferHash, preferStream := la.ResetHintIfConflicted()

hashAggs := la.getHashAggs(prop)
if hashAggs != nil && preferHash {
return hashAggs, true, nil
Expand Down
1 change: 1 addition & 0 deletions pkg/planner/core/find_best_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ func enumeratePhysicalPlans4Task(
if _, ok := p.Self().(*LogicalSequence); ok {
iteration = iterateChildPlan4LogicalSequence
}

for _, pp := range physicalPlans {
timeStampNow := p.GetLogicalTS4TaskMap()
savedPlanID := p.SCtx().GetSessionVars().PlanID.Load()
Expand Down

0 comments on commit 79c31a5

Please sign in to comment.