Skip to content

Commit

Permalink
planner: check error when building INLJ executor (#39756) (#39760)
Browse files Browse the repository at this point in the history
close #39724
  • Loading branch information
ti-chi-bot authored Dec 9, 2022
1 parent 8fa8740 commit 3835890
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3285,7 +3285,11 @@ func (b *executorBuilder) buildIndexLookUpMergeJoin(v *plannercore.PhysicalIndex
}

func (b *executorBuilder) buildIndexNestedLoopHashJoin(v *plannercore.PhysicalIndexHashJoin) Executor {
e := b.buildIndexLookUpJoin(&(v.PhysicalIndexJoin)).(*IndexLookUpJoin)
join := b.buildIndexLookUpJoin(&(v.PhysicalIndexJoin))
if b.err != nil {
return nil
}
e := join.(*IndexLookUpJoin)
idxHash := &IndexNestedLoopHashJoin{
IndexLookUpJoin: *e,
keepOuterOrder: v.KeepOuterOrder,
Expand Down

0 comments on commit 3835890

Please sign in to comment.