Commit Graph

44 Commits

Author SHA1 Message Date
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
48989e726f *: Vector Data types and Functions (#55550)
ref pingcap/tidb#54245
2024-08-22 07:01:51 +00:00
38f9d702ff planner: use logical cores as default fine grained stream count (#55544)
close pingcap/tidb#55543
2024-08-21 09:42:19 +00:00
0b6e2e68a4 planner: move logical cte into logicalop pkg (#55496)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-21 05:12:12 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +00:00
7e9f85320d planner: move rule_constant_propagation to rule pkg. (#55231) (#55345)
ref pingcap/tidb#55231
2024-08-13 05:06:10 +00:00
2abd334934 planner: move logical join and logical selection to logicalop (#55272)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-12 05:42:01 +00:00
004b442fb9 pkg/planner: set proj.AvoidColumnEvaluator in postOptimize (#55333)
close pingcap/tidb#52985
2024-08-12 04:49:38 +00:00
240702efb4 planner: move base physical plan into physicalop pkg. (#55131)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-09 12:47:12 +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
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
593c415707 planner: Remove CloneForPlanCache method (#54528)
ref pingcap/tidb#54057
2024-07-09 15:12:03 +00:00
29fc940ae4 resource_control: introduce privilege RESOURCE_GROUP_USER to restrict the switch of resource group (#53483)
close pingcap/tidb#53440
2024-06-14 07:40:14 +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
fa94f49919 planner: move loical plan functionality AppendCandidate4PhysicalOptimizeOp to util (#53198)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-13 06:10:10 +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
3d82fc5be3 executor,planner: Relax projection column expression push down check conditions (#52502)
close pingcap/tidb#52501
2024-04-15 14:12:06 +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
1997ff7943 planner: move physical opt and cost misc to util and split plan interface (#52224)
ref pingcap/tidb#52181
2024-04-10 13:45:22 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
927f3c61ee planner: move logical optimizing trace logic out of core pkg (#52161)
ref pingcap/tidb#51664
2024-03-28 12:09:48 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
f4e366ea0c planner: apply rule_partition_pruning when optimizing CTE under static mode (#51903)
close pingcap/tidb#51873
2024-03-19 13:38:12 +00:00
f1410bf2a8 planner: seperate methods in PlanContext and EvalContext/BuildContext (#51382)
close pingcap/tidb#51381
2024-02-28 11:03:31 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
de177d85b1 expression: use buildExprWithAst to implement evalAstExpr (#50660)
ref pingcap/tidb#50463
2024-01-26 04:16:50 +00:00
bc451d9f2e expression: provide BuildExprWithAst to build expression without planner context (#50464)
close pingcap/tidb#50463
2024-01-23 08:24:21 +00:00
0fc0084e56 optimizer: move adjust optimization flags code out (#50622) 2024-01-22 05:39:19 +00:00
637aaa5f5b planner: return the complete error info when Parallel Apply meets problem (#50335)
close pingcap/tidb#50256
2024-01-12 10:30:26 +00:00
bca554aa82 planner: unite the variable name (#49759) 2023-12-26 07:28:58 +00:00
ebd259c6a7 planner: move more hint code to a separate package (#49697)
ref pingcap/tidb#48875
2023-12-22 06:18:45 +00:00
6aea95e223 planner: refactor planner module's warning and note generation logic (get rid of unnecessary stack info) (#49390)
close pingcap/tidb#49291
2023-12-14 08:13:50 +00:00
2f2f916926 expression: always use the ctx in parameter for method Equal in all expressions (#48596)
close pingcap/tidb#48595
2023-11-17 05:09:47 +00:00
ebb7568fda planner: Improve the DoOptimize function names to minimize unnecessary confusion (#48540) 2023-11-13 07:32:14 +00:00
cbdf4364fb planner: fixing wrong result after applying predicate push down for CTEs (#47891)
close pingcap/tidb#47881
2023-11-01 11:45:37 +00:00
3a3a7d1c3c enhancement: Modify the BuildLogicalPlanForTest function (#47988)
close pingcap/tidb#47974
2023-10-26 00:57:34 +00:00
895b4e0f12 *: replace mathutil.Max/Min with built-in max/min (#47700)
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00