diff --git a/pkg/sql/drop_owned_by.go b/pkg/sql/drop_owned_by.go index c5d99bda19c9..937ea90064af 100644 --- a/pkg/sql/drop_owned_by.go +++ b/pkg/sql/drop_owned_by.go @@ -9,17 +9,10 @@ import ( "context" "github.com/cockroachdb/cockroach/pkg/server/telemetry" - "github.com/cockroachdb/cockroach/pkg/sql/sem/tree" "github.com/cockroachdb/cockroach/pkg/sql/sqltelemetry" "github.com/cockroachdb/cockroach/pkg/util/errorutil/unimplemented" ) -// dropOwnedByNode represents a DROP OWNED BY statement. -type dropOwnedByNode struct { - // TODO(angelaw): Uncomment when implementing - commenting out due to linting error. - //n *tree.DropOwnedBy -} - func (p *planner) DropOwnedBy(ctx context.Context) (planNode, error) { if err := checkSchemaChangeEnabled( ctx, @@ -32,11 +25,3 @@ func (p *planner) DropOwnedBy(ctx context.Context) (planNode, error) { // TODO(angelaw): Implementation. return nil, unimplemented.NewWithIssue(55381, "drop owned by is not yet implemented") } - -func (n *dropOwnedByNode) startExec(params runParams) error { - // TODO(angelaw): Implementation. - return nil -} -func (n *dropOwnedByNode) Next(runParams) (bool, error) { return false, nil } -func (n *dropOwnedByNode) Values() tree.Datums { return tree.Datums{} } -func (n *dropOwnedByNode) Close(context.Context) {} diff --git a/pkg/sql/walk.go b/pkg/sql/walk.go index c265786768f5..d53afe016026 100644 --- a/pkg/sql/walk.go +++ b/pkg/sql/walk.go @@ -432,7 +432,6 @@ var planNodeNames = map[reflect.Type]string{ reflect.TypeOf(&ordinalityNode{}): "ordinality", reflect.TypeOf(&projectSetNode{}): "project set", reflect.TypeOf(&reassignOwnedByNode{}): "reassign owned by", - reflect.TypeOf(&dropOwnedByNode{}): "drop owned by", reflect.TypeOf(&recursiveCTENode{}): "recursive cte", reflect.TypeOf(&refreshMaterializedViewNode{}): "refresh materialized view", reflect.TypeOf(&relocateNode{}): "relocate",