Commit Graph

168 Commits

Author SHA1 Message Date
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
b912237ac7 planner: support keep_order and no_keep_order hint (#40089)
ref pingcap/tidb#39964
2023-01-09 21:42:22 +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
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
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
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
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
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
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
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
b2b8c562ad expression: Improved precision of FROM_UNIXTIME(char) #35184 (#37788)
ref pingcap/tidb#35184
2022-09-22 12:27:03 +08:00
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
8161947cc8 *: Support multi-column RANGE COLUMNS partitioning (#36637)
close pingcap/tidb#36636
2022-09-16 17:47:00 +08:00
6a856a3e64 planner: add more test cases for hash_join_build and hash_join_probe hints (#37796)
ref pingcap/tidb#35439
2022-09-16 10:10:59 +08:00
daf546f5e7 planner: fix index merge hint case sensitive (#37534)
close pingcap/tidb#37273
2022-09-02 11:36:24 +08:00
42b6883057 planner: allow requesting MPP task for simple selection or projection operator (#37422)
close pingcap/tidb#35875
2022-08-30 10:42:23 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
f459bb3a86 planner: avoid change the type of the input of sum/avg (#36372)
close pingcap/tidb#36371
2022-07-29 16:21:12 +08:00
d90cee5002 planner: push down top selection to TiFlash (#36256)
close pingcap/tidb#34192
2022-07-19 09:57:07 +08:00
8af8341cca planner: Table scan in TiFlash not keep order (#36232)
close pingcap/tidb#36231
2022-07-19 00:51:07 +08:00
67be460efe planner: enable the new cost interface by default (#36241)
ref pingcap/tidb#35240
2022-07-18 21:21:08 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
24eb419ca2 planner: handle the expected row count for pushed-down selection in mpp (#36195)
close pingcap/tidb#36194
2022-07-13 21:59:05 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
7567f0772d planner: fix limit in exists subquery will make TiDB plan not optimal (#35476)
close pingcap/tidb#34969
2022-06-30 10:50:38 +08:00
3f8df8c389 Revert "planner: fix the wrong cost formula of MPPExchanger" (#35707)
ref pingcap/tidb#35240
2022-06-24 14:22:38 +08:00
d3b79de20b planner: fix the wrong cost formula of MPPExchanger (#35438)
ref pingcap/tidb#35240
2022-06-17 13:26:35 +08:00
2f4b11dc26 planner: disable the new cost implementation by default (#34810) 2022-05-19 16:01:16 +08:00
683ba092b5 planner: enable the new cost implementation by default (#34567)
close pingcap/tidb#33945
2022-05-17 00:02:38 +08:00
1c6dcf0913 planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
2022-05-13 14:12:28 +08:00
12ee8f2cc8 planner: add more test cases for the new cost implementation (#34575)
ref pingcap/tidb#33945
2022-05-12 17:44:35 +08:00