37 Commits

Author SHA1 Message Date
a00894143c planner: remove function pointer for the UnionAll/MaxOneRow/PartitionUnionAll/Sequence (#64066)
ref pingcap/tidb#52714
2025-10-21 12:16:25 +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
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
eb47aabd79 planner: relocate table/index scan build logic to physical op dir (#63585)
ref pingcap/tidb#52714
2025-09-28 07:22:40 +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
c8d2bef20e planner: move physical related logic into physical op dir (#63401)
ref pingcap/tidb#52714
2025-09-08 10:39:06 +00:00
cc619f44a9 planner: move PhysicalJoin related logic into physical op dir (#63390)
ref pingcap/tidb#52714
2025-09-08 02:58:39 +00:00
2b4469a6bd planner: add error as return value for predicate-push-down (#62258)
ref pingcap/tidb#61185
2025-07-15 03:20:12 +00:00
ee9f2305ba planner: deprecate the logical interface CanPushToCop and its implementation canPushToCopImpl. (#62235)
ref pingcap/tidb#62006
2025-07-07 07:15:27 +00:00
721ff794d7 planner: move planner used partitionTable interface to base pkg. (#62145)
ref pingcap/tidb#52714
2025-07-02 15:59:48 +00:00
94bfb3dd72 planner: move access object interface to base interface dir. (#62091)
ref pingcap/tidb#52714
2025-07-01 06:08:15 +00:00
4419a28eb9 planner: remove isChildOfIndexLookUp field from physicalTableScan (#61466)
ref pingcap/tidb#51664
2025-06-11 05:41:31 +00:00
bf9fbde9e9 planner: add variable control for index join build v2 and default them on (#60592)
close pingcap/tidb#60106
2025-05-21 08:34:46 +00:00
ced1490db2 planner: modernize some package (#60396)
ref pingcap/tidb#60323
2025-04-07 04:13:34 +00:00
6812b17b55 planner: fix cascades about the XFormed operator should derive their stats own (#58904)
close pingcap/tidb#58905
2025-01-23 11:11:23 +00:00
a903099d50 planner: add physical plan memorization for multi cascades logical alternative. (#58832)
ref pingcap/tidb#51664
2025-01-13 10:25:11 +00:00
8ecdb54c51 planner: enhance stats derive suitable for memo derive and traditional logical tree derive (#58252)
ref pingcap/tidb#51664
2024-12-24 08:57:51 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
4f85a3599a planner: integrate hashEqual interface into LogicalPlan and expression.Expression. (#55652)
ref pingcap/tidb#51664
2024-08-27 08:19:48 +00:00
3117d3fae5 planner: classify logical optimizing rule interface and files. (#55226)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-07 07:26:18 +00:00
3a61d79fee planner: add more test cases for Plan.Clone (#54588)
ref pingcap/tidb#54057
2024-07-12 06:40:35 +00:00
593c415707 planner: Remove CloneForPlanCache method (#54528)
ref pingcap/tidb#54057
2024-07-09 15:12:03 +00:00
7a0611ff35 planner: consider using instance level plan cache (#54472)
ref pingcap/tidb#54057
2024-07-05 15:42:01 +00:00
b9a31b231a planner: add CloneForPlanCache method to Plan interface (#54285)
ref pingcap/tidb#54057
2024-06-28 02:28:26 +00:00
57d0b40cd9 planner: move base logical plan to logical operator pkg. (#53293)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-27 16:37:19 +00:00
9da001d777 Optimizer: Refactor and simplify outer to inner join conversion rule #52941 (#52941)
ref pingcap/tidb#53278
2024-05-16 03:43:13 +00:00
6aef624c8d planner: move invalidTask to task base pkg. (#53267)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-15 02:25:12 +00:00
957e6ae67d planner: move MemtablePredicateExtractor interface to a unified base place. (#53031)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-06 11:02:37 +00:00
516977e1f9 planner: move ShowPredicateExtractor interface to base package out of core (#52953)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-06 06:41:36 +00:00
e8c397ff93 planner: collect and move correlated utility to util pkg (#52866)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-25 08:10:43 +00:00
b1baf4d642 planner: move logical interface definition to base pkg (#52732)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-23 07:36:10 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00