Commit Graph

2960 Commits

Author SHA1 Message Date
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
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
cfe9703a7f expression: fix error handling of DateAddString vectorized function (#41786)
close pingcap/tidb#40015
2023-03-02 13:13:09 +08:00
5b0315e956 planner: add more test cases for non-prep cache (#41645)
ref pingcap/tidb#36598
2023-02-22 12:47:06 +08:00
b9fcb73a81 planner: skip plan cache if the query has filters like year <cmp> const (#41628)
close pingcap/tidb#41626
2023-02-21 17:25:06 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
aa3b57cc47 expression: implement is_ipv4 and is_ipv6 function pushdown (#41173)
close pingcap/tidb#41172
2023-02-15 23:36:02 +08:00
3cc368d45e *: improve executor to make test faster (#41442)
close pingcap/tidb#41377
2023-02-15 20:44:02 +08:00
44e4381bbe expression: improve expression to make test faster (#41426)
ref pingcap/tidb#41377
2023-02-15 14:22:02 +08:00
a78ff88c3d *: upgrade golangci-linter (#41317) 2023-02-14 20:54:01 +08:00
84871df190 *: update bazel (#41369)
ref pingcap/tidb#41377
2023-02-14 14:30:01 +08:00
ee8ad52afa planner: fix tiflash cannot find generated column (#41261)
close pingcap/tidb#40663
2023-02-13 17:28:03 +08:00
6f99ebae07 Optimizer: derive TopN from filter on row number (#41209)
ref pingcap/tidb#39792
2023-02-13 11:08:01 +08:00
be48b2d649 expression: return upper bound for enum (#41021)
close pingcap/tidb#40855
2023-02-11 13:40:00 +08:00
3d713011d1 expression: implement least/greatest for string function pushdown (#41188)
close pingcap/tidb#41189
2023-02-09 18:06:38 +08:00
8398f0fe09 *: fix a timezone data race which may cause wrong row data (#41146)
close pingcap/tidb#40710
2023-02-08 12:21:58 +08:00
567b329fa1 planner: label plans as over-optimized for plan cache after refining cmp-function arguments (#41136)
close pingcap/tidb#40679, close pingcap/tidb#41032
2023-02-08 02:55:58 +08:00
ba41d92115 Revert "planner: skip the plan cache if non-int values are converted into int when optimization" (#41077)
ref pingcap/tidb#41032
2023-02-06 19:49:57 +08:00
d0d321f440 ddl: add more tests about multi-valued index (#40973) 2023-02-02 14:53:56 +08:00
00617c96ef expression, cmd: fix ColumnSubstitute and allow some cases to substitute (#38826)
close pingcap/tidb#38736, close pingcap/tidb#40536
2023-01-31 20:29:55 +08:00
bca433fcab planner: remove pickFromBucket field in LRUPlanCache (#40668)
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
465ab74532 planner: skip the plan cache if non-int values are converted into int when optimization (#40686)
close pingcap/tidb#40679
2023-01-28 14:49:53 +08:00
efbdeed4ab json, expression: add json unary not implementation (#40723)
close pingcap/tidb#40683
2023-01-19 16:39:49 +08:00
7613aa38bf planner: set binary collation for mv column (#40644)
close pingcap/tidb#40558
2023-01-18 18:33:51 +08:00
b61932461b ttl: submit ttl scan task to the system table (#40422)
close pingcap/tidb#40362, ref pingcap/tidb#40363
2023-01-13 15:51:46 +08:00
a917dc574e *: add more tests and fix some bugs for multi-valued index (#40518)
* fix

Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>

* add more test

Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>

Signed-off-by: xiongjiwei <xiongjiwei1996@outlook.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 17:49:53 +08:00
02332b20de expression, planner: exclude concat_ws from aggresive folding constant (#38383)
close pingcap/tidb#36888
2023-01-10 17:04:23 +08:00
005c8d8ef8 *: remove the support of the amending transaction (#39714)
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
99100d4149 planner: support more types to use IndexMerge to access MVIndex (#40343)
ref pingcap/tidb#40191
2023-01-06 14:38:20 +08:00
affe126097 *: support curdate() as column's default value | tidb-test=pr/2057 (#40326)
close pingcap/tidb#38356
2023-01-05 16:14:20 +08:00
508b601529 expression: enlarge timeout for test (#40332) 2023-01-05 13:50:19 +08:00
95f0dc547e planner: support pushing down predicates to memory tables in prepared mode (#40262)
close pingcap/tidb#39605
2023-01-04 15:58:19 +08:00
9aaa93e9cc test: fix data race in cast as array (#40277)
close pingcap/tidb#40276
2023-01-03 18:04:19 +08:00
67a952abf5 expression: implement regexp_replace function pushdown (#40267)
close pingcap/tidb#40266
2023-01-03 14:56:20 +08:00
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
b97f60d88c planner: remove the unnecessary skip-plan-cache flag in StmtCtx (#40246) 2022-12-30 14:22:18 +08:00