forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an automated cherry-pick of pingcap#45538
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
- Loading branch information
1 parent
96f6214
commit e3350cd
Showing
8 changed files
with
298 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_test") | ||
|
||
go_test( | ||
name = "rule_test", | ||
timeout = "short", | ||
srcs = [ | ||
"main_test.go", | ||
"rule_derive_topn_from_window_test.go", | ||
"rule_inject_extra_projection_test.go", | ||
"rule_join_reorder_test.go", | ||
"rule_result_reorder_test.go", | ||
], | ||
data = glob(["testdata/**"]), | ||
flaky = True, | ||
shard_count = 21, | ||
deps = [ | ||
"//domain", | ||
"//expression", | ||
"//expression/aggregation", | ||
"//parser/ast", | ||
"//parser/model", | ||
"//parser/mysql", | ||
"//planner/core/internal", | ||
"//sessionctx/variable", | ||
"//testkit", | ||
"//testkit/testdata", | ||
"//testkit/testmain", | ||
"//testkit/testsetup", | ||
"//types", | ||
"//util/mock", | ||
"@com_github_pingcap_failpoint//:failpoint", | ||
"@com_github_stretchr_testify//require", | ||
"@org_uber_go_goleak//:goleak", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 19 additions & 66 deletions
85
planner/core/casetest/testdata/join_reorder_suite_in.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters