Skip to content

Commit

Permalink
support CREATE VIEW ... UnionStmt (#572) (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
XuHuaiyu authored and kennytm committed Oct 11, 2019
1 parent 2a177b2 commit 1f407b3
Show file tree
Hide file tree
Showing 4 changed files with 3,690 additions and 3,582 deletions.
2 changes: 1 addition & 1 deletion ast/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ func (n *CreateViewStmt) Accept(v Visitor) (Node, bool) {
if !ok {
return n, false
}
n.Select = selnode.(*SelectStmt)
n.Select = selnode.(StmtNode)
return v.Leave(n)
}

Expand Down
Loading

0 comments on commit 1f407b3

Please sign in to comment.