Commit Graph

2995 Commits

Author SHA1 Message Date
aedbcd085b expression: refactor grouping function computation and update related tipb (#44436)
close pingcap/tidb#44437
2023-06-07 10:19:41 +00:00
8b67cea5e1 *: support check constraint in tidb (#44104)
ref pingcap/tidb#41711
2023-06-07 08:51:42 +00:00
1c223c75c8 expression: Switch on the pushdown for first_value() and last_value (#44157)
close pingcap/tidb#44156
2023-06-07 07:03:41 +00:00
fcd20a3189 linter: enable qf1004 (#44447)
ref pingcap/tidb#40786
2023-06-06 11:28:00 +00:00
d01f0c0431 planner: add logical expand operator for rollup (#44216)
close pingcap/tidb#44214
2023-06-05 07:05:40 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
e3776f3abb sessiontxn/staleread: more accurate stale ts (#44272)
close pingcap/tidb#44215
2023-05-30 09:38:41 +00:00
a2c01c310f expression: fix time range check for UNIX_TIMESTAMP (#44003)
close pingcap/tidb#43987
2023-05-29 12:20:41 +00:00
6888a1aa6b test: fix TestIfFunctionWithNull (#44229)
close pingcap/tidb#44226
2023-05-29 03:12:40 +00:00
1f5e6f7f73 expression: modify the grouping function to receive uint64 and add more test about grouping sets nullability (#44179)
close pingcap/tidb#44184
2023-05-25 12:29:40 +00:00
4d9a1f1f34 expression: Support capture group in regexp_replace (#43671)
close pingcap/tidb#43670
2023-05-24 14:41:39 +00:00
1b0e019375 expression: add rollup grouping sets util (#44105)
close pingcap/tidb#44112
2023-05-24 11:49:39 +00:00
a8898239e2 zeropool: better Pool to improve performance (#44036)
close pingcap/tidb#44042
2023-05-24 04:19:39 +00:00
6bc2a3181d expression: fix bench test (#44045) 2023-05-22 09:13:39 +00:00
f09d950add executor,util: Correct error for MAX_EXECUTION_TIME (#43041)
close pingcap/tidb#43031
2023-05-18 16:33:36 +00:00
0f3a2da959 planner, expression: fix wrong fieldtype after aggregationPushDownSolver (#43906)
close pingcap/tidb#43805
2023-05-18 10:43:43 +00:00
6dd84b6fef *: add encode SQL digest function (#43194)
close pingcap/tidb#43193
2023-05-16 20:53:17 +00:00
0490add66d planner: skip plan-cache if some predicates are converted to True/False when constant propagation (#43875)
close pingcap/tidb#43852
2023-05-16 13:27:17 +00:00
6f83874c03 *: ignore some ttlworker in the goleak (#43857)
close pingcap/tidb#43855
2023-05-16 05:47:17 +00:00
bec5bb9e58 planner: enable constant propagation for plan cache parameters (#43009)
close pingcap/tidb#43520, close pingcap/tidb#43522
2023-05-09 02:36:58 +00:00
a7b957a9b8 expression: add simple expression semantic equal check logic (#43558)
close pingcap/tidb#43572
2023-05-06 08:30:57 +00:00
cb609bb39c *: add tidb_row_checksum() as a builtin function (#43479)
ref pingcap/tidb#42747
2023-05-05 07:03:56 +00:00
b901431398 *: use time.DateTime,time.DateOnly to replace magic number (#43505) 2023-05-04 03:21:55 +00:00
4e30d7baa1 expression: prepare grouping function for roll up (#42464)
close pingcap/tidb#42463
2023-04-27 10:31:53 +00:00
355958af52 *: fix warning message when to meet strconv.ErrRange (#43391)
close pingcap/tidb#40582
2023-04-25 09:17:52 +00:00
4f2ef40a0f *: fix warning message when to meet strconv.ErrSyntax (#43358)
close pingcap/tidb#41730
2023-04-24 12:16:01 +00:00
36659e8c7f planner: use the correct fraction for decimal values in plan cache (#43329)
* fixup

* fixup

* make linter happy
2023-04-23 12:00:43 +00:00
98250894b5 fix: fix global index scan, index join, and dml in drop partition (#41992) 2023-04-23 03:06:44 +00:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
bdd41f82d1 expression: fix index out of range for AES_DECRYPT (#43086)
close pingcap/tidb#43063
2023-04-18 09:37:18 +08:00
8e7ebb330f planner: add more test cases for non-prep plan cache (#43083)
ref pingcap/tidb#36598
2023-04-17 21:41:18 +08:00
86f215d8f5 planner: plan cache can be aware of statistics changes (#42921)
ref pingcap/tidb#36598
2023-04-11 19:35:00 +08:00
d7b7070070 sessionctx, planner: enable late materialization default (#42814)
close pingcap/tidb#40601
2023-04-11 13:31:00 +08:00
c282c9c942 planner: add more test cases for non-prep plan cache (#42901)
ref pingcap/tidb#36598
2023-04-10 21:49:00 +08:00
7e0c14650f planner: add more metrics for non-prep plan cache (#42888)
ref pingcap/tidb#36598
2023-04-10 17:11:09 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
e942ab6148 kazel: support auto-config shard_count (#42751)
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
a0f2405981 expression: make expression TestGetLock test more stable (#42815)
close pingcap/tidb#35155
2023-04-04 23:58:57 +08:00
a6093c70eb planner: skip non-prep plan cache if query has under-score charsets (#42723)
ref pingcap/tidb#36598
2023-03-31 18:00:55 +08:00
bf470aa99a planner: initialize charset, collation and repertoire correctly for parameter values (#42645)
ref pingcap/tidb#36598
2023-03-28 20:40:54 +08:00
7442a66e4b planner: fix incompatibility issues between plan-cache and expr-blacklist (#42606)
ref pingcap/tidb#36598
2023-03-27 22:00:54 +08:00
5d9170e304 planner: add more test cases for non-prep plan cache (#42604)
ref pingcap/tidb#36598
2023-03-27 15:34:44 +08:00
d7fe314bf3 planner: non-prep plan cache supports regular builtin-functions (#42554)
ref pingcap/tidb#36598
2023-03-25 15:42:42 +08:00
d36a68a887 *: fix data race in the IgnoreTruncate (#42449)
close pingcap/tidb#42341
2023-03-22 15:28:42 +08:00
b6d26be524 test: fix ut TestTan due to math.Tan(math.Pi / 4) equals 0.9999999999999998, not 1 (#42421)
close pingcap/tidb#42420
2023-03-21 21:42:42 +08:00
5aceb2e525 expression: support ilike function (#40942)
close #40943
2023-03-17 13:37:15 +08:00
4f44dab83c test: fix data race (#42306)
close pingcap/tidb#42270
2023-03-17 01:02:39 +08:00
39e955b8a2 planner: add test cases for non-prep plan cache (#41872)
ref pingcap/tidb#36598
2023-03-14 19:16:47 +08:00
7be0e9b8fe ddl: support cast as double array (#41666)
close pingcap/tidb#42142
2023-03-14 13:18:38 +08:00
18f1ecdfcd planner: add monitor for non-prepared plan cache (#41752)
ref pingcap/tidb#36598
2023-03-07 19:41:12 +08:00