Commit Graph

1187 Commits

Author SHA1 Message Date
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
6ad6639872 planner: move physical plan misc into physical op dir. (#62800)
ref pingcap/tidb#52714
2025-08-05 03:26:18 +00:00
50d56323d5 planner: add planner_core cases covering cascades mode (#62819)
ref pingcap/tidb#62328
2025-08-05 02:38:39 +00:00
aad48eab53 planner: move physical PhysicalLock related logic into physical op dir. (#62807)
ref pingcap/tidb#52714
2025-08-04 14:44:45 +00:00
2a522358ce planner,expression: remove duplicates in the ExtractColumnsFromExpressions (#62791)
ref pingcap/tidb#45839
2025-08-04 13:00:27 +00:00
tpp
7540ef8bf9 planner: refactor order ratio code (#61787)
ref pingcap/tidb#62034
2025-08-04 05:40:36 +00:00
46e26712bf planner: move physical shuffle related logic into physical op dir. (#62788)
ref pingcap/tidb#52714
2025-08-04 04:10:03 +00:00
08a1ba02e3 Cascades Planner: add rule plan cases covering cascades mode (#62785)
ref pingcap/tidb#62328
2025-08-03 10:33:24 +00:00
a6d415f24a Cascades Planner: add pushdown, scalarsubquery plan cases covering cascades mode (#62784)
ref pingcap/tidb#62328
2025-08-03 09:54:18 +00:00
3a097611cc planner: handle histogram last bucket end value underrepresented (#62695)
close pingcap/tidb#62665
2025-08-02 19:33:51 +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
f13696c164 planner: revert enhance partition prune when comparing partition key with constant of different types (#62769)
close pingcap/tidb#62754
2025-08-01 15:14:45 +00:00
d38eee2a64 planner: move physical window related logic into physical op dir. (#62743)
ref pingcap/tidb#52714
2025-08-01 14:01:25 +00:00
a64de14f10 planner: constant propagation can deal with anti semi join (#62539)
close pingcap/tidb#62536
2025-08-01 10:52:15 +00:00
c43df07ebf planner: keep hist unchanged when deriving limit stats (#62537)
close pingcap/tidb#62438
2025-08-01 09:49:54 +00:00
4097c48e52 Cascades Planner: correct plan generation logic for PartitionUnionAll for limit in cascades mode (#62765)
ref pingcap/tidb#62328, close pingcap/tidb#62764
2025-08-01 08:22:56 +00:00
c35d9ef385 planner: fix the issue of inconsistent judgment of const false. (#62723)
close pingcap/tidb#62663
2025-07-31 13:15:19 +00:00
a204a81fb4 planner: add mpp,join cases covering cascades mode (#62727)
ref pingcap/tidb#62328
2025-07-31 07:30:04 +00:00
fc92679eb1 planner: add partition cases covering cascades mode (#62728)
ref pingcap/tidb#62328
2025-07-31 06:28:01 +00:00
0069dd2bd2 planner: add physical plan cases covering cascades mode (#62735)
ref pingcap/tidb#62328
2025-07-31 05:53:25 +00:00
dcee9a38d1 planner: move base physical agg related logic into physical op dir. (#62612)
ref pingcap/tidb#52714
2025-07-31 03:14:22 +00:00
e54fe94984 planner: TTL scan can trigger sync/async load/generateRuntimeFilter (#62616)
close pingcap/tidb#61822
2025-07-30 17:18:16 +00:00
4f02c1800c planner: add flat,index cases covering cascades mode (#62706)
ref pingcap/tidb#62328
2025-07-30 07:16:40 +00:00
80fd5796ef planner: add tpch cases covering cascades mode (#62530)
ref pingcap/tidb#62328
2025-07-30 06:27:07 +00:00
c7003d8d65 planner: Implement ignore_plan_cache hint for non-prepared statements. (#62641)
close pingcap/tidb#62634
2025-07-30 05:50:37 +00:00
dc664bfe96 planner: consider limit-offset clause in IndexLookUp's cost formula (#62560)
close pingcap/tidb#45077
2025-07-30 00:59:01 +00:00
22580a3cc8 planner: move PhysicalIndexJoin related logic into physical op dir (#62651)
ref pingcap/tidb#52714
2025-07-29 17:48:46 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
f4f13e601a planner: add binary, DAG, and correlated test cases covering cascades mode (#62598)
ref pingcap/tidb#62328
2025-07-29 12:55:16 +00:00
5a0343f652 planner,analyze: Add skipped vector column to "skipCol" (#62683)
close pingcap/tidb#62682
2025-07-29 11:24:38 +00:00
0906244b99 planner: no need to check predicate type in the updateInPredicate (#62674)
close pingcap/tidb#62675
2025-07-29 06:58:22 +00:00
9439a65b69 planner: try fix flaky test TestTiFlashLateMaterialization (#62670)
close pingcap/tidb#61989
2025-07-29 06:10:01 +00:00
8c6dbedb30 filter: no need to always convert dbname to lowercase in IsSystemSchema (#62657)
close pingcap/tidb#62658
2025-07-28 12:20:27 +00:00
9be9766410 planner: add enforce_mpp_test cases covering cascades mode (#62643)
ref pingcap/tidb#62328
2025-07-28 02:44:06 +00:00
tpp
822553b58e planner: apply ordering ratio to tablerangescan (#61506)
close pingcap/tidb#61540
2025-07-26 16:49:45 +00:00
d15d502e5f refactor: use slices.Equal to simplify code (#62601) 2025-07-25 09:36:15 +00:00
89fccd79d0 planner: remove "SHOW PLAN FOR <SQL>" syntax (#62509)
ref pingcap/tidb#60148
2025-07-25 03:28:58 +00:00
433b3710fa planner: use addedRows for out of range and add skew risk ratio (#62363)
ref pingcap/tidb#62093
2025-07-25 02:13:13 +00:00
d0ac8e6151 planner: right deal with predicate in the join reorder (#62561)
close pingcap/tidb#61715
2025-07-24 05:48:16 +00:00
a16aedeb9f planner: fix expand operator shouldn't keep child keys && fix grouping function forget to encode their func meta (#62558)
close pingcap/tidb#62551
2025-07-23 14:42:14 +00:00
9b1c8eef85 planner: move max-one-row related logic into physical op dir (#62569)
ref pingcap/tidb#52714
2025-07-23 11:56:02 +00:00
2e223fab99 planner: move BasePhysicalJoin related logic into physical op dir (#62571)
ref pingcap/tidb#52714
2025-07-23 09:43:27 +00:00
be5bc77b73 planner: Remove InPreparedPlanBuilding member from StatementContext. (#62542)
ref pingcap/tidb#61876
2025-07-23 09:43:20 +00:00
c3722d72ad planner: move physical projection related logic into physical op dir (#62533)
ref pingcap/tidb#52714
2025-07-23 02:31:21 +00:00
f21e394279 planner: simplify predicate with the static prune (#62507)
close pingcap/tidb#62494
2025-07-23 02:31:14 +00:00
8d4b52a70a planner: fixed index out of range, in explicit partition pruning (#62468)
close pingcap/tidb#62458
2025-07-22 11:46:47 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
55ff7e8a3a planner: add plan_test cases covering cascades mode (#62511)
ref pingcap/tidb#62328
2025-07-22 02:15:26 +00:00
96f5396be1 planner: add hint_test cases covering cascades mode (#62508)
ref pingcap/tidb#62328
2025-07-21 20:42:05 +00:00
52b83cfcfa planner: reuse slices with buildKeyInfo (#62525)
close pingcap/tidb#62526
2025-07-21 11:16:37 +00:00