Skip to content

Commit

Permalink
chore: remove the default case to allow unsupported DDL
Browse files Browse the repository at this point in the history
  • Loading branch information
5n7 committed Nov 9, 2023
1 parent 7cb6c8c commit 3d6b3d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions loaders/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ func NewSpannerLoaderFromDDL(fpath string) (*SpannerLoaderFromDDL, error) {
continue
}
return nil, fmt.Errorf("stmt should be CreateTable, CreateIndex or AlterTableAddConstraint, but got '%s'", ddl.SQL())
default:
return nil, fmt.Errorf("stmt should be CreateTable, CreateIndex or AlterTableAddConstraint, but got '%s'", ddl.SQL())
}
}

Expand Down

0 comments on commit 3d6b3d3

Please sign in to comment.