Commit Graph

2585 Commits

Author SHA1 Message Date
86b058bebe planner: add more test cases for MVIndex (#40853)
ref pingcap/tidb#40191
2023-01-30 15:33:54 +08:00
4ed456214d planner: let optimizer trace support gcSubstitute (#40815)
close pingcap/tidb#40662
2023-01-30 14:41:54 +08:00
fd5e67581b planner: add a switch control if prepare stmt with param limit can be cached (#40712)
ref pingcap/tidb#40219
2023-01-30 12:01:54 +08:00
9544e26879 planner: support use / force index for multi-valued indexes (#40820)
ref pingcap/tidb#40191
2023-01-30 10:45:54 +08:00
4e9b5631d8 planner: show warnings when analyzing multi-valued indexes (#40827)
ref pingcap/tidb#40191
2023-01-29 18:07:55 +08:00
8b1058de1f planner: refactor some code related to IndexMerge and MVIndex (#40800)
ref pingcap/tidb#40191
2023-01-29 12:21:54 +08:00
774d2eb170 planner: forbid the optimizer to generate point-plan upon MVIndexes (#40804)
ref pingcap/tidb#40191
2023-01-29 11:51:54 +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
7613aa38bf planner: set binary collation for mv column (#40644)
close pingcap/tidb#40558
2023-01-18 18:33:51 +08:00
970ac9150c planner: refactor plan cache value code (#40656)
ref pingcap/tidb#40219
2023-01-18 17:21:51 +08:00
dc30a5b7b3 *: LOAD DATA support load one file from s3 and other OSS (#40489)
ref pingcap/tidb#40499
2023-01-18 15:27:51 +08:00
05e20162a4 Revert "planner: show un-cacheable reasons for execute statements" (#40680)
ref pingcap/tidb#36598
2023-01-18 11:31:50 +08:00
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
22746c0068 privilege,planner/core: add dynamic privilege RESOURCE_GROUP_ADMIN for resource group operation (#40632)
ref pingcap/tidb#38825
2023-01-17 20:47:49 +08:00
a879ba2d5b planner: show un-cacheable reasons for execute statements (#40651)
ref pingcap/tidb#36598
2023-01-17 17:29:49 +08:00
45e85d9bd4 planner: disable plan-cache for plans with IndexMerge accessing Multi-Valued Index (#40646)
ref pingcap/tidb#40191
2023-01-17 15:17:48 +08:00
bdc6f4b541 planner: refactor to put all plan-cacheability-check functions together (#40625)
ref pingcap/tidb#36598
2023-01-17 13:29:49 +08:00
17df596863 planner: prepared plan cache support cached plan with placeholder in limit clause (#40196)
ref pingcap/tidb#40219
2023-01-17 12:51:49 +08:00
aa51b46ead executor: fix concurrent use of testkit in tests and add nil check (#40627)
close pingcap/tidb#40206
2023-01-16 22:29:49 +08:00
1083f79f51 handle: use separete ctx for initStats (#40604)
close pingcap/tidb#40548
2023-01-16 18:23:48 +08:00
ee6d291f4e planner: fix prepare explain index out of range bug (#40568)
close pingcap/tidb#38323
2023-01-16 11:25:48 +08:00
604883a5e1 planner: introduce a new variable to adjust the penalty double read cost of IndexJoin (#40571)
close pingcap/tidb#40556
2023-01-15 21:07:48 +08:00
cbe228fe50 hint: fix the problem that set var hint is invalid when create binding (#40569)
close pingcap/tidb#40570
2023-01-13 18:29:47 +08:00
fbc38f8b7f planner: correctly handle expression.ScalarFunction in the buildSemiJoinForSetOperator (#40390)
close pingcap/tidb#40279
2023-01-12 19:07:52 +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
e864d83c1b planner: make MVIndex be compatible with the use/force index hint (#40495)
* fixup

* fixup

* fixup

* fixup
2023-01-11 16:58:33 +08:00
d2d33dfbb0 planner: support using DNF to construct IndexMerge to access MVIndex (#40471)
* fixup

* fixup

* fixup
2023-01-11 15:02:32 +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
46e67d272f planner: update the non-prep cacheable checker (#40446)
close pingcap/tidb#40296
2023-01-10 16:38:23 +08:00
c4d8ed1192 planner: add test cases for keep_order and no_keep_order hints (#40321)
ref pingcap/tidb#39964
2023-01-10 15:00:22 +08:00
f771c6745c planner: support use IndexMerge to access composite MVIndex (#40426)
ref pingcap/tidb#40191
2023-01-10 13:18:22 +08:00
e2a14ce0f2 planner: unify the behavior of prepare/execute limit to mysql (#40360)
ref pingcap/tidb#40219
2023-01-10 11:14:23 +08:00
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +08:00
362defb112 planner: add nil check when handling empty charset in setUnionFlen (#40429)
close pingcap/tidb#40285
2023-01-09 21:10:22 +08:00
0f838d9a67 planner, executor: split the range for unsigned pk of partition table when limit is used (#40313)
close pingcap/tidb#40309
2023-01-09 18:36:22 +08:00
4a8006cad2 planner: fix panic during starting tidb-server if creating global binding for partition table (#40402)
* fix

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-09 13:18:27 +08:00
b906bf9934 planner: fix typo (#40367) 2023-01-06 23:34:21 +08:00
f9f72688fb *: fix static pruning partition table in disaggregated tiflash mode (#40238)
close pingcap/tidb#40239
2023-01-06 19:28: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
852fdc6097 planner: let the planner can select IndexMerge on MVIndex without hint (#40347)
ref pingcap/tidb#40191
2023-01-06 12:12:20 +08:00
331f69f52d planner,infoschema,executor: Add tiflash fine grained shuffle support for hash join and aggregation (#40121)
close pingcap/tidb#40123
2023-01-06 09:24: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
be112dc31d planner: skip plan-cache for prepared queries with INT in (Decimals...) (#40312)
close pingcap/tidb#40224
2023-01-05 11:20:20 +08:00
6ae151a9bc planner: open the partial order prop push down for LIST PARTITION (#40290)
close pingcap/tidb#40273
2023-01-04 17:24:20 +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
7fafb6db45 planner: better coordination between the ignore_plan_cache() binding and plan-cache (#40280)
close pingcap/tidb#40225
2023-01-04 12:52:19 +08:00
4f1adb9e7c planner: support converting json_overlaps/contains to IndexMerge to access MVIndex (#40195)
ref pingcap/tidb#40191
2023-01-03 19:14:19 +08:00
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
67a952abf5 expression: implement regexp_replace function pushdown (#40267)
close pingcap/tidb#40266
2023-01-03 14:56:20 +08:00