Skip to content

Commit

Permalink
just for test
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Aug 12, 2024
1 parent 360334d commit 726a9ff
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions pkg/planner/core/issuetest/planner_issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,26 +193,15 @@ WHERE ISNULL(tcd8c2aac.col_21) OR tcd8c2aac.col_21='yJTkLeL5^yJ'
GROUP BY tcd8c2aac.col_21
HAVING ISNULL(tcd8c2aac.col_21)
LIMIT 48579914;`).Check(testkit.Rows("<nil>"))
}

func TestABC(t *testing.T) {
store := testkit.CreateMockStore(t)
tk := testkit.NewTestKit(t, store)
tk.MustExec("use test")
tk.MustExec(`CREATE TABLE ta31c32a7 (
col_63 double DEFAULT '9963.92512636973',
KEY idx_24 (col_63),
KEY idx_25 (col_63),
KEY idx_26 (col_63)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;`)

tk.MustExec(`INSERT INTO ta31c32a7 VALUES
(5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138),
(5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138),
(5496.073863178138), (5496.073863178138), (5496.073863178138), (812.0652153526295), (5496.073863178138),
(5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138), (5496.073863178138),
(514.3598375578558), (1432.7415668797237), (5114.763375349217), (5340.437767375417), (5496.073863178138),
(4027.8475888445246), (2995.154396178381), (3045.228783606007), (3618.0432407275603), (1156.6077897338241),
(5496.073863178138), (4027.8475888445246), (2995.154396178381), (3045.228783606007), (3618.0432407275603), (1156.6077897338241),
(348.56448524702813), (2138.361831358777), (5904.959667345741), (2815.6976889801267), (6455.25717613724),
(9721.34540217101), (6793.035010125108), (6080.120357332818), (NULL), (1780.7418079754723),
(1222.1954607008702), (3576.2079432921923), (2187.4672702135276), (9129.689249510902),
Expand Down

0 comments on commit 726a9ff

Please sign in to comment.