diff --git a/pkg/sql/explain_vec.go b/pkg/sql/explain_vec.go index 8c9bc229e420..8aa9bf31d1fa 100644 --- a/pkg/sql/explain_vec.go +++ b/pkg/sql/explain_vec.go @@ -18,7 +18,6 @@ import ( "github.com/cockroachdb/cockroach/pkg/roachpb" "github.com/cockroachdb/cockroach/pkg/sql/colexec" "github.com/cockroachdb/cockroach/pkg/sql/colflow" - "github.com/cockroachdb/cockroach/pkg/sql/distsql" "github.com/cockroachdb/cockroach/pkg/sql/execinfra" "github.com/cockroachdb/cockroach/pkg/sql/execinfrapb" "github.com/cockroachdb/cockroach/pkg/sql/sem/tree" @@ -103,12 +102,6 @@ func (n *explainVecNode) startExec(params runParams) error { } func makeFlowCtx(planCtx *PlanningCtx, plan PhysicalPlan, params runParams) *execinfra.FlowCtx { - var localState distsql.LocalState - localState.EvalContext = planCtx.EvalContext() - if planCtx.isLocal { - localState.IsLocal = true - localState.LocalProcs = plan.LocalProcessors - } flowCtx := &execinfra.FlowCtx{ NodeID: planCtx.EvalContext().NodeID, EvalCtx: planCtx.EvalContext(),