Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
  • Loading branch information
XuHuaiyu committed Sep 25, 2019
1 parent 2d566ef commit 4c6a7c6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,16 @@ func (b *executorBuilder) buildIndexLookUpJoin(v *plannercore.PhysicalIndexJoin)
e.innerCtx.keyCols = innerKeyCols
e.joinResult = newFirstChunk(e)
executorCounterIndexLookUpJoin.Inc()
return e
idxHash := &IndexNestedLoopHashJoin{
IndexLookUpJoin: *e,
keepOuterOrder: true,
}
concurrency := e.ctx.GetSessionVars().IndexLookupJoinConcurrency
idxHash.joiners = make([]joiner, concurrency)
for i := 0; i < concurrency; i++ {
idxHash.joiners[i] = e.joiner.Clone()
}
return idxHash
}

func (b *executorBuilder) buildIndexLookUpMergeJoin(v *plannercore.PhysicalIndexMergeJoin) Executor {
Expand Down

0 comments on commit 4c6a7c6

Please sign in to comment.