169 Commits

Author SHA1 Message Date
tpp
007466b089 planner: remove fix control 47400 (#64796)
ref pingcap/tidb#47400
2026-01-03 00:01:50 +00:00
1776433ee0 planner: fix no access path when TiKV read is disabled under RC isolation (#65127)
close pingcap/tidb#65059
2025-12-29 07:23:41 +00:00
cb08e5eda4 planner: Apply should not be full scan when plan cache enabled (#64646)
close pingcap/tidb#64645
2025-12-16 04:17:14 +00:00
69fb8dbc92 *: support system variable tidb_index_lookup_pushdown_policy and hint NO_INDEX_LOOKUP_PUSHDOWN (#64932)
ref pingcap/tidb#62575
2025-12-15 05:38:47 +00:00
5271f751a0 planner: remove code of the deprecated optimizer trace - 5 (#64945)
ref pingcap/tidb#63725
2025-12-12 04:16:26 +00:00
tpp
7d124185db planner: flaky test TestIssue25729 (#64774)
ref pingcap/tidb#63501
2025-12-02 18:41:29 +00:00
47d17123d6 expression,planner: move planner-specific functions out of expression (#64675)
ref pingcap/tidb#63856
2025-11-26 01:16:05 +00:00
57948d90e8 statistics: refresh stats concurrently (#64034)
close pingcap/tidb#61273
2025-11-10 11:36:44 +00:00
d7470ffa9e planner: remove function pointers (#64077)
ref pingcap/tidb#64049
2025-10-22 08:16:49 +00:00
a00894143c planner: remove function pointer for the UnionAll/MaxOneRow/PartitionUnionAll/Sequence (#64066)
ref pingcap/tidb#52714
2025-10-21 12:16:25 +00:00
a93a1687d8 planner: remove some function pointers (#64015)
ref pingcap/tidb#52714
2025-10-20 09:43:01 +00:00
4dca2c06ba planner: eliminate the findBestTask func pointer for cte/cte-table/show. (#63991)
ref pingcap/tidb#52714
2025-10-16 11:08:13 +00:00
aa22bdccd3 planner: eliminate the findBestTask function pointer when call for physicalization of show (#63971)
ref pingcap/tidb#52714
2025-10-15 07:44:13 +00:00
4dc983548d planner: move FindBestTask4LogicalMemTable into physicalop (#63913)
ref pingcap/tidb#52714
2025-10-14 13:16:26 +00:00
c1297c9b33 planner: refactor FindBestTask and move FindBestTask4LogicalTableDual (#63863)
ref pingcap/tidb#52714
2025-10-10 10:45:00 +00:00
ae3d6acbb5 planner: remove code of the hint nth_plan - 1 (#63803)
ref pingcap/tidb#63802
2025-09-30 02:57:19 +00:00
8840daf482 planner, executor: support access path keep order with IN conditions using merge sort (#62694)
close pingcap/tidb#34882, close pingcap/tidb#63449
2025-09-29 16:22:16 +00:00
805da7ca66 *: move exhaustPhysicalPlan for lock/sort/topn into physicalop (#63790)
ref pingcap/tidb#52714
2025-09-29 08:07:01 +00:00
10b7c71283 planner: remove code of the deprecated optimizer trace - 4 (#63793)
ref pingcap/tidb#63725
2025-09-29 06:27:58 +00:00
4f57389d52 planner: remove code of the deprecated optimizer trace - 3 (#63784)
ref pingcap/tidb#63725
2025-09-28 09:30:22 +00:00
98fa1ac0d9 planner: remove code of the deprecated optimizer trace - 2 (#63765)
ref pingcap/tidb#63725
2025-09-28 04:44:07 +00:00
933db8df82 parser, planner: Add hint INDEX_LOOKUP_PUSH_DOWN and implement the planner part (#62714)
close pingcap/tidb#62713, close pingcap/tidb#63611
2025-09-27 07:41:43 +00:00
f5234c41e8 planner: remove code of the deprecated optimizer trace - 1 (#63731)
ref pingcap/tidb#63725
2025-09-26 02:33:49 +00:00
78ca97301b planner: refactor exhaustPhysicalPlans (#63508)
ref pingcap/tidb#52714
2025-09-16 16:40:23 +00:00
a11f6178b8 planner: remove function pointer about plan cache (#63480)
ref pingcap/tidb#52714
2025-09-12 03:53:03 +00:00
ae6d30c24f planner: re-enable the plan cache generator and move Delete/Inset/Update into physicalop (#63443)
ref pingcap/tidb#52714
2025-09-11 06:20:39 +00:00
tpp
8533e85e23 planner: Add more context to CompareCol2Len (#63188)
ref pingcap/tidb#59333
2025-08-26 17:27:10 +00:00
3741596d32 planner: move PhysicalPointget related logic into physical op dir (#63168)
ref pingcap/tidb#52714
2025-08-25 09:05:31 +00:00
aaa03d76f8 planner: move PhysicalIndexMergeJoin related logic into physical op dir (#63134)
ref pingcap/tidb#52714
2025-08-22 05:41:02 +00:00
c862907cd8 planner: move PhysicalIndexMergeReader related logic into physical op dir (#62911)
ref pingcap/tidb#52714
2025-08-20 18:03:53 +00:00
a471b4ec03 planner: move PhysicalIndexReader related logic into physical op dir (#62951)
ref pingcap/tidb#52714
2025-08-20 03:14:35 +00:00
4463d93596 planner: move PhysicalIndexLookupReader related logic into physical op dir (#62935)
ref pingcap/tidb#52714
2025-08-20 00:25:14 +00:00
78eadf2080 planner: move physical table reader stuff into physical op dir (#63023)
ref pingcap/tidb#52714
2025-08-18 06:42:35 +00:00
8bb0605ddb planner: move predicate simplification rule into rule dir (#63001)
ref pingcap/tidb#55231
2025-08-16 06:45:02 +00:00
739c7c3f9e planner: move physical cte related stuff into physical op dir. (#63007)
ref pingcap/tidb#52714
2025-08-15 12:57:41 +00:00
60e5a4b8b7 planner: move PhysicalExchangeSender+PhysicalExchangeReceiver related logic into physical op dir (#62888)
ref pingcap/tidb#52714
2025-08-15 00:44:03 +00:00
a6b139988d planner: fix PropagateConstant create useless expression (#62864)
close pingcap/tidb#45839
2025-08-14 12:40:12 +00:00
a49b6396b1 planner: move column pruning & collect stats rule into specific rule dir (#62984)
ref pingcap/tidb#55231
2025-08-14 10:57:57 +00:00
6050bfabdd planner: move PhysicalIndexScan related logic into physical op dir (#62936)
ref pingcap/tidb#52714
2025-08-14 02:15:27 +00:00
1a88fd99db planner: create variables for recognizing over and underestimation risk (#62910)
ref pingcap/tidb#59333
2025-08-09 17:01:45 +00:00
1eb20f3601 planner: move physical PhysicalExpand related logic into physical op dir (#62851)
ref pingcap/tidb#52714
2025-08-09 06:23:00 +00:00
ba5bec09bf planner: move physical stream aggreation into phyiscal op dir. (#62863)
ref pingcap/tidb#52714
2025-08-08 14:57:39 +00:00
857a162ea4 planner: move PhysicalApply related logic into physical op dir (#62885)
ref pingcap/tidb#52714
2025-08-08 09:57:03 +00:00
72d1d2247e planner: move physical hash agg related logic into physical op dir. (#62848)
ref pingcap/tidb#52714
2025-08-06 12:00:27 +00:00
8aa5f5f4c4 expression: simplify the code with the ExtractColumnsFromExpressions (#62825)
ref pingcap/tidb#45839
2025-08-06 06:47:30 +00:00
fc6a05690e planner: move physical PhysicalSequence related logic into physical op dir (#62846)
ref pingcap/tidb#52714
2025-08-06 05:52:16 +00:00
f2cad329e0 planner: move PhysicalIndexHashJoin related logic into physical op dir (#62843)
ref pingcap/tidb#52714
2025-08-06 04:36:06 +00:00
b9ee229dc8 planner: move physical PhysicalTableScan,PhysicalHashJoin related logic into physical op dir (#62809)
ref pingcap/tidb#52714
2025-08-05 05:09:09 +00:00
2a522358ce planner,expression: remove duplicates in the ExtractColumnsFromExpressions (#62791)
ref pingcap/tidb#45839
2025-08-04 13:00:27 +00:00
b9107c1d33 planner: move PhysicalMergeJoin related logic into physical op dir (#62781)
ref pingcap/tidb#52714
2025-08-02 06:47:15 +00:00