Skip to content

Commit 1fde9d5

Browse files
authored
fix dropped error in createView (#2727)
1 parent 84d576a commit 1fde9d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/planbuilder/from.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@ func (b *Builder) resolveView(name string, database sql.Database, asOf interface
843843
create, ok := node.(*plan.CreateView)
844844
if !ok {
845845
err = fmt.Errorf("expected create view statement, found: %T", node)
846+
b.handleErr(err)
846847
}
847848
switch n := create.Child.(type) {
848849
case *plan.SubqueryAlias:

0 commit comments

Comments
 (0)