[jOOQ/jOOQ#9775] Support parsing TABLE() as an alias for UNNEST()

This commit is contained in:
Lukas Eder 2020-09-17 14:23:32 +02:00
parent 61e765c62a
commit 0441f818ea

View File

@ -5556,7 +5556,7 @@ final class ParserImpl implements Parser {
// TODO [#5306] Support FINAL TABLE (<data change statement>)
// TOOD ONLY ( table primary )
if (parseFunctionNameIf(ctx, "UNNEST")) {
if (parseFunctionNameIf(ctx, "UNNEST") || parseFunctionNameIf(ctx, "TABLE")) {
parse(ctx, '(');
Field<?> f = parseField(ctx, Type.A);