Skip to content

Commit

Permalink
feat: support DT_ADD_CONFIG_FILE syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
HaydenOrz committed Aug 28, 2023
1 parent 53559bc commit 13b58b2
Show file tree
Hide file tree
Showing 8 changed files with 5,430 additions and 5,379 deletions.
1 change: 1 addition & 0 deletions src/grammar/flinksql/FlinkSqlLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ KW_CHECK: 'CHECK';
KW_CLOB: 'CLOB';
KW_CLOSE: 'CLOSE';
KW_COALESCE: 'COALESCE';
KW_CONFIG: 'CONFIG';
KW_COLLATE: 'COLLATE';
KW_COLLECT: 'COLLECT';
KW_COLUMN: 'COLUMN';
Expand Down
1 change: 1 addition & 0 deletions src/grammar/flinksql/FlinkSqlParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ dtAddStatement
| KW_ADD (KW_PYTHON_FILES | KW_PYTHON_REQUIREMENTS | KW_PYTHON_DEPENDENCIES | KW_PYTHON_JAR | KW_PYTHON_ARCHIVES) KW_WITH dtFilePath KW_RENAME uid
| KW_ADD KW_PYTHON_PARAMETER dtFilePath
| KW_ADD KW_ENGINE KW_FILE KW_WITH dtFilePath KW_RENAME uid KW_KEY uid
| KW_ADD KW_CONFIG KW_FILE KW_WITH dtFilePath KW_FOR uid KW_AS uid
;

dtFilePath
Expand Down
5 changes: 4 additions & 1 deletion src/lib/flinksql/FlinkSqlLexer.interp

Large diffs are not rendered by default.

Loading

0 comments on commit 13b58b2

Please sign in to comment.