Commit Graph

207 Commits

Author SHA1 Message Date
b3d4aff3dd planner: avoid have two ExtraPhysTblID row in same schema (#44605)
close pingcap/tidb#44615
2023-06-25 04:47:43 +00:00
20dfa24658 linter: enable revive for part planner/core (#44681)
ref pingcap/tidb#40786
2023-06-15 07:01:09 +00:00
465bd60df0 planner: support grouping function/col/expression rewriting and physical plan exhaustion for rollup expand OP (#44488)
close pingcap/tidb#44487
2023-06-12 08:51:10 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
fe40acd803 *: let handleMap supports partitionHandle (#44360)
close pingcap/tidb#44312
2023-06-06 11:27:52 +00:00
610ca18e06 *: support to execute CTE on MPP side (#42296)
close pingcap/tidb#43333
2023-05-24 14:03:40 +00:00
44222226d0 planner: refine the codes of embeded limit of double read (#42818)
ref pingcap/tidb#24636, close pingcap/tidb#35952, close pingcap/tidb#43528
2023-05-16 14:13:17 +00:00
ec03200fb1 planner, executor: add extraProj for indexMerge with orderBy + limit (#43617)
close pingcap/tidb#43609
2023-05-09 15:32:08 +00:00
17cb4de37a planner: wrong slice length check for index merge's order prop push down (#43465)
close pingcap/tidb#43178
2023-04-28 04:17:53 +00:00
4b6f0ce4ee planner: open fully order prop push down for partition table's table scan and single index scan (#42694)
ref pingcap/tidb#26166
2023-04-26 12:09:52 +00:00
2ca58a4be1 planner, executor: remove pid param for sortedSelectResults (#43315)
close pingcap/tidb#43241
2023-04-26 06:25:52 +00:00
658e7b8914 planner, executor: indexMerge support partition table with limit embedded (#43173)
ref pingcap/tidb#41028, close pingcap/tidb#43158, close pingcap/tidb#43160
2023-04-20 21:43:20 +08:00
2d0564c8ff executor, planner: support indexMerge limit embeded with non partition table (#42811)
ref pingcap/tidb#41028
2023-04-14 15:29:01 +08:00
2e1522b6a1 planner, executor: support mergeSort for partition tables in IndexLookUp (#42483)
ref pingcap/tidb#26166
2023-04-04 17:06:57 +08:00
88174d2ef7 planner: support data compression in Broadcast / Passthrough exchange operator; optimize process about choosing Broadcast Join; (#41968)
ref pingcap/tidb#40494
2023-03-21 15:04:42 +08:00
4ae5be190b planner: add 2pb logic and fix some bugs for partitionTopN (#42334)
ref pingcap/tidb#39792, close pingcap/tidb#42321
2023-03-17 09:50:39 +08:00
cc56b21242 executor: support mergeSort different selectResult in TableScan and IndexScan (#42024)
ref pingcap/tidb#26166, close pingcap/tidb#41801
2023-03-14 22:34:39 +08:00
f2163e7df1 Optimizer: Add partition by support for derived TopN(filter on row_nu… (#41469)
ref pingcap/tidb#39792
2023-02-23 17:23:06 +08:00
741ac51d0d planner: enable tiflash path for generated col in disaggregated tiflash mode (#41359)
close pingcap/tidb#41360
2023-02-22 10:57:06 +08:00
4ccce9c526 planner, expression: support multi-distinct agg under MPP mode (#39973) 2023-02-20 19:07:20 +08:00
60dda6976e planner: support push part of limit prop to IndexMerge (#41054)
ref pingcap/tidb#41028
2023-02-20 02:39:04 +08:00
d2d91b5d96 planner: add more checks when pushing TopN down (#41370)
close pingcap/tidb#41355
2023-02-16 01:38:01 +08:00
288c2dd490 planner: fix a bug when pushing streamAgg down (#41056)
close pingcap/tidb#40857
2023-02-12 12:00:00 +08:00
a4158c2219 planner: adjust estimated row count when pushing Limit and keep order for partitioned table (#41103)
close pingcap/tidb#40986
2023-02-09 21:26:09 +08:00
f1a744a3e6 planner: add MppVersion for mpp task; support data compression in Exchange Operator; (#40132)
ref pingcap/tiflash#6620, close pingcap/tidb#40494
2023-02-02 11:11:56 +08:00
05edfd4a7d planner: fix HashAgg cannot pushdown to tiflash_compute (#40828)
close pingcap/tidb#40717
2023-01-31 16:17:54 +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
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
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
b94042c0b5 planner: refine planner code for disaggregated tiflash mode (#39813)
close pingcap/tidb#39814
2022-12-29 22:02:20 +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
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
38b0ab7333 planner: prohibit StreamAgg with group keys for TiFlash (#39547)
close pingcap/tidb#39266
2022-12-02 05:10:00 +08:00
9a7341eb43 executor: add tests for property pushed down for partition table (#39530)
ref pingcap/tidb#26166
2022-12-02 01:54:02 +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
dd0a479b1a planner, parser: add basic preparations for intersection type IndexMerge (#39396)
ref pingcap/tidb#39335
2022-11-25 19:37:59 +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
acf1dcf696 planner: supply Task memory usage and correct some accumulation (#38638)
ref pingcap/tidb#37632
2022-11-02 12:03:59 +08:00
e3a19d81d8 planner: fix for single DQA mode issue (#37912)
close pingcap/tidb#37913
2022-09-19 10:23:00 +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
b5ab19c098 planner: remove old useless interfaces about cost model (#37801)
ref pingcap/tidb#35240
2022-09-15 15:47:00 +08:00
e0da196b41 planner: support HashJoin cost detail (#37012)
ref pingcap/tidb#36962
2022-08-22 15:48:20 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
beee5f314c *: fix revive in the planner (#36249) 2022-07-27 11:39:11 +08:00
a33d971add planner: costs of Selection operators from DataSources are not accumulated (#36244)
close pingcap/tidb#36243
2022-07-15 23:05:05 +08:00
b71a23ba47 *: support coprocessor cache for paging protocol (#35787)
close pingcap/tidb#35786
2022-07-01 18:32:39 +08:00
d99b358225 *: only add default value for final aggregation to fix the aggregate push down (partition) union case (#35443)
close pingcap/tidb#35295
2022-06-28 12:08:39 +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
8d589d2c7c planner: new cost formula for IndexJoin (#35671)
ref pingcap/tidb#35240
2022-06-24 10:38:37 +08:00