Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#43763
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
mjonss authored and ti-chi-bot committed May 30, 2023
1 parent 7bd4528 commit 84f5645
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3580,6 +3580,9 @@ func (builder *dataReaderBuilder) prunePartitionForInnerExecutor(tbl table.Table
locateKey[keyColOffsets[i]] = data
}
p, err := partitionTbl.GetPartitionByRow(builder.ctx, locateKey)
if table.ErrNoPartitionForGivenValue.Equal(err) {
continue
}
if err != nil {
return nil, false, nil, err
}
Expand Down
4 changes: 4 additions & 0 deletions executor/oomtest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ go_test(
srcs = ["oom_test.go"],
flaky = True,
race = "on",
<<<<<<< HEAD:executor/oomtest/BUILD.bazel
=======
shard_count = 5,
>>>>>>> cb175516d20 (executor: ignore non-found partitions in inner joins (#43763)):executor/test/partitiontest/BUILD.bazel
deps = [
"//testkit",
"//testkit/testsetup",
Expand Down

0 comments on commit 84f5645

Please sign in to comment.