diff --git a/pkg/planner/core/plan_base.go b/pkg/planner/core/plan_base.go index 85d23bab29b27..ae8327c177953 100644 --- a/pkg/planner/core/plan_base.go +++ b/pkg/planner/core/plan_base.go @@ -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