diff --git a/lib/antlr/parse.go b/lib/antlr/parse.go index a9668fed..0a866b06 100644 --- a/lib/antlr/parse.go +++ b/lib/antlr/parse.go @@ -86,6 +86,8 @@ func visit(tree antlr.Tree) ([]Event, error) { case *generated.RenameTableContext: return processRenameTable(ctx) case + *generated.CreateViewContext, + *generated.DropViewContext, // [*generated.QueryCreateTableContext] refers to materialized tables *generated.QueryCreateTableContext, *generated.CreateIndexContext,