feat(flink): update flinkSql grammar and add some test

This commit is contained in:
Erindcl
2020-12-03 20:03:25 +08:00
parent 04c4c40397
commit c9d88d00a6
7 changed files with 1530 additions and 1475 deletions

View File

@ -238,7 +238,7 @@ selectClause
;
projectItemDefinition
: expression (AS? uid)?
: expression (AS? expression)?
;
fromClause
@ -247,7 +247,7 @@ fromClause
tableExpression
: tableReference (COMMA tableReference)*
| tableExpression NATURAL? (LEFT | RIGHT | FULL)? JOIN tableExpression joinCondition?
| tableExpression NATURAL? (LEFT | RIGHT | FULL | INNER)? JOIN tableExpression joinCondition?
;
tableReference