[#7171] Support parsing WITH with parenthesised set operations
This commit is contained in:
parent
cf0e018f13
commit
b3ccb1dcd5
@ -739,7 +739,7 @@ final class ParserImpl implements Parser {
|
||||
result = parseInsert(ctx, with);
|
||||
else if (!parseSelect && peekKeyword(ctx, "MERGE"))
|
||||
result = parseMerge(ctx, with);
|
||||
else if (peekKeyword(ctx, "SELECT"))
|
||||
else if (peekKeyword(ctx, "SELECT", false, true, false))
|
||||
result = parseSelect(ctx, null, with);
|
||||
else if (!parseSelect && peekKeyword(ctx, "UPDATE"))
|
||||
result = parseUpdate(ctx, with);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user