Commit Graph

2946 Commits

Author SHA1 Message Date
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
8e80e7c96c expression: implement unhex function pushdown to tiflash (#39898)
ref pingcap/tidb#5112, ref pingcap/tiflash#5112
2022-12-30 14:06:18 +08:00
d3b952a49a executor: write multi-valued index (#40172)
close pingcap/tidb#40207
2022-12-30 13:38:17 +08:00
72f52f3f09 planner: update the plan cache strategy when expressions with parameters affect null-check (#40218)
close pingcap/tidb#38205, close pingcap/tidb#40093
2022-12-30 11:00:18 +08:00
ffaf2ac9ee planner: remove the unnecessary skip-plan-cache flag in StmtCtx (#40235) 2022-12-30 10:20:17 +08:00
b1967563e3 planner: record reasons when skipping Plan Cache (#40210) 2022-12-28 17:46:16 +08:00
f9d4a54b08 expression: impl cast as array function (#40076)
close pingcap/tidb#40128
2022-12-26 20:40:15 +08:00
b4f500e018 ddl: check the limitation when creating multi-valued index (#39818)
close pingcap/tidb#40086
2022-12-21 18:08:55 +08:00
017901d1d6 *: extend skyline pruning diagnostic info and add extra warnings (#39894)
ref pingcap/tidb#39893
2022-12-20 18:00:55 +08:00
ae58fa1c8b expression: introduce cast(... as ... array) in expression index (#39992)
close pingcap/tidb#40045
2022-12-20 12:56:54 +08:00
3970cfc7a0 planner, json: restore cast flag after substitute column in cast (#39997)
close pingcap/tidb#39806
2022-12-17 00:52:52 +08:00
9d2c9ee474 expression, json: fix cast json as string with shorter length (#39970)
close pingcap/tidb#39963
2022-12-15 18:28:52 +08:00
bb50e33509 expression: support member of function (#39880)
ref pingcap/tidb#39866
2022-12-14 17:16:52 +08:00
565128e903 expression: close recordset (#39899) 2022-12-14 15:30:51 +08:00
b41be060b9 expression: support json_overlaps function (#39867)
ref pingcap/tidb#39866
2022-12-14 12:48:52 +08:00