Commit Graph

440 Commits

Author SHA1 Message Date
9544e26879 planner: support use / force index for multi-valued indexes (#40820)
ref pingcap/tidb#40191
2023-01-30 10:45:54 +08:00
7613aa38bf planner: set binary collation for mv column (#40644)
close pingcap/tidb#40558
2023-01-18 18:33:51 +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
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
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +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
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
f9af75f2ae planner: support converting json_member_of to IndexMerge to access MVIndex (#40175)
ref pingcap/tidb#40191
2022-12-28 16:42:16 +08:00
785f515b3a planner: add more test cases for MPP hints (#39933) 2022-12-21 16:58: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
6b4739f170 planner: change the stage of count star rewriter rule from logical to post (#39555)
close pingcap/tidb#37165
2022-12-02 12:20:00 +08:00
8e0e49ca65 *: support JSON format output in explain statement (#39253)
ref pingcap/tidb#39261
2022-12-01 12:12:01 +08:00
6241d6054f planner, executor: support intersection type IndexMerge with hint in planner (#38650)
close pingcap/tidb#39335
2022-11-30 10:30:00 +08:00
4476173923 planner: update cost model2 (#39438)
ref pingcap/tidb#35240
2022-11-30 00:29:59 +08:00
8a5ccd87d7 planner: support the view hint(part-2) (#39280)
ref pingcap/tidb#37887
2022-11-29 19:50:00 +08:00
f9a6e47192 planner: support push part of order property down to the partition table (#36108)
ref pingcap/tidb#26166
2022-11-29 13:51:59 +08:00
37bd052ee5 planner: rewrite count star to count not null column (#39197)
close pingcap/tidb#37165
2022-11-28 23:57:59 +08:00
7c4610067a planner: update cost formulas of Index*Join of model2 (#39296)
ref pingcap/tidb#35240
2022-11-23 14:47:58 +08:00
1e6d1a832b *: add foreign key check/cascade information in explain result (#39167)
close pingcap/tidb#39166
2022-11-22 17:31:57 +08:00
e91c9027fa planner: update some UTs from cost model1 to model2 (#39210)
ref pingcap/tidb#35240
2022-11-17 18:17:56 +08:00
c39506486a planner: add more test cases for view hint (#39126)
ref pingcap/tidb#37887
2022-11-15 14:13:54 +08:00
b03690a3ae planner: update some UTs from cost model1 to model2 (#39138)
ref pingcap/tidb#35240
2022-11-15 11:33:54 +08:00
678aa56ece planner: update some UTs from cost model1 to model2 (#39124)
ref pingcap/tidb#35240
2022-11-14 14:31:54 +08:00
a8f56ee851 planner: support the view hint (#38653)
close pingcap/tidb#37887
2022-11-14 12:01:54 +08:00
80c8fea9ec planner: update some UTs from cost model1 to model2 (#39085)
ref pingcap/tidb#35240
2022-11-11 17:07:53 +08:00
3bbffdf7ac planner: update some UTs from cost model1 to model2 (#39065)
ref pingcap/tidb#35240
2022-11-11 13:51:53 +08:00
6399e6cb5b planner: update some UTs from cost model1 to model2 (#39013)
ref pingcap/tidb#35240
2022-11-09 19:15:51 +08:00
ce62915289 planner: update the scan-row-size calculation formula in model2 (#38968)
ref pingcap/tidb#35240
2022-11-09 10:55:50 +08:00
3208719a63 planner: update some UTs from cost model1 to model2 (#38959)
ref pingcap/tidb#35240
2022-11-08 16:01:50 +08:00
3ad6f932c0 planner: update some UTs from cost model1 to model2 (#38947)
ref pingcap/tidb#35240
2022-11-08 10:21:50 +08:00
54ff6e3f2f planner: update some UTs from cost model1 to model2 (#38925)
ref pingcap/tidb#35240
2022-11-07 16:19:51 +08:00
d323b8d3ae planner: update some UTs to cost model2 (#38893)
ref pingcap/tidb#35240
2022-11-05 10:58:00 +08:00
fb8979697e planner: update some UTs to use cost model2 (#38875)
ref pingcap/tidb#35240
2022-11-04 11:58:00 +08:00
64ca5d48f7 planner: udpate cost model ver2 and some related UT (#38833)
ref pingcap/tidb#35240
2022-11-02 19:36:00 +08:00
e245b84c44 planner: Add HashJoin<-Receiver specific physicalPlan column pruner (#38536)
close pingcap/tidb#38511
2022-11-02 09:57:59 +08:00
95d177a316 planner: add more tests for pushing IsNull to prefix index (#38697)
ref pingcap/tidb#21145
2022-10-28 11:27:57 +08:00
64051f99cf planner: avoid double scan for index prefix col is (not) null (#38555)
ref pingcap/tidb#21145
2022-10-24 18:59:56 +08:00
431a9d8b66 planner: remove two useless hints mpp_tidb_agg and mpp_scalar_agg (#38574) 2022-10-20 17:31:55 +08:00
7a9ed6f8c4 planner: introduce some new hints for MPP plans (#38516) 2022-10-19 15:49:54 +08:00
5cb35c6542 planner: fix unstable test TestDAGPlanBuilderUnionScan (#37895)
close pingcap/tidb#37621
2022-10-18 15:49:53 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
1659c3ea48 planner, util/ranger: restrict mem usage for index join inner ranges (#38129)
ref pingcap/tidb#37176
2022-09-30 21:15:45 +08:00
886c654e1c planner: refine index join range display for clustered index (#38259)
close pingcap/tidb#38258
2022-09-30 16:23:45 +08:00
14d085ba54 executor,sessionctx: enable coprocessor paging and make TestCoprocessorPagingSize stable (#38161)
close pingcap/tidb#38158
2022-09-29 11:57:44 +08:00
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00