diff --git a/pkg/sql/virtual_schema.go b/pkg/sql/virtual_schema.go index b2c47ffb5dee..01552b00b11f 100644 --- a/pkg/sql/virtual_schema.go +++ b/pkg/sql/virtual_schema.go @@ -176,7 +176,7 @@ func (t virtualSchemaTable) initVirtualTableDesc( tree.PersistencePermanent, ) if err != nil { - return mutDesc.TableDescriptor, err + return descpb.TableDescriptor{}, err } for _, index := range mutDesc.PublicNonPrimaryIndexes() { if index.NumColumns() > 1 {