Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planner: move physical opt and cost misc to util and split plan interface #52224

Merged
merged 19 commits into from
Apr 10, 2024
Prev Previous commit
.
Signed-off-by: AilinKid <314806019@qq.com>
AilinKid committed Apr 10, 2024
commit 120a939ff11d0b2c7078b5aeb864b5c94f1adb1f
2 changes: 1 addition & 1 deletion pkg/planner/core/plan_base.go
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ type PhysicalPlan interface {
Attach2Task(...Task) Task

// ToPB converts physical plan to tipb executor.
ToPB(ctx PlanContext, storeType kv.StoreType) (*tipb.Executor, error)
ToPB(ctx *BuildPBContext, storeType kv.StoreType) (*tipb.Executor, error)

// GetChildReqProps gets the required property by child index.
GetChildReqProps(idx int) *property.PhysicalProperty