diff --git a/pkg/executor/join/hash_join_v2.go b/pkg/executor/join/hash_join_v2.go index 5221822488eb8..72cfa7f11a896 100644 --- a/pkg/executor/join/hash_join_v2.go +++ b/pkg/executor/join/hash_join_v2.go @@ -379,7 +379,7 @@ func (e *HashJoinV2Exec) fetchAndProbeHashTable(ctx context.Context) { e.ProbeSideTupleFetcher.fetchProbeSideChunks(ctx, e.MaxChunkSize(), func() bool { return e.ProbeSideTupleFetcher.hashTableContext.hashTable.isHashTableEmpty() }, e.ProbeSideTupleFetcher.canSkipProbeIfHashTableIsEmpty, e.ProbeSideTupleFetcher.needScanRowTableAfterProbeDone, - e.ProbeSideTupleFetcher.needScanRowTableAfterProbeDone, &e.ProbeSideTupleFetcher.hashJoinCtxBase) + e.ProbeSideTupleFetcher.shouldLimitProbeFetchSize(), &e.ProbeSideTupleFetcher.hashJoinCtxBase) }, e.ProbeSideTupleFetcher.handleProbeSideFetcherPanic) for i := uint(0); i < e.Concurrency; i++ {