You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/10/21 09:53:35 UTC
[GitHub] [flink] twalthr commented on a change in pull request #9952:
[FLINK-14321][sql-parser] Support to parse watermark statement in SQL DDL
twalthr commented on a change in pull request #9952: [FLINK-14321][sql-parser] Support to parse watermark statement in SQL DDL
URL: https://github.com/apache/flink/pull/9952#discussion_r336929422
##########
File path: flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl
##########
@@ -27,9 +27,30 @@ void TableColumn(TableCreationContext context) :
UniqueKey(context.uniqueKeysList)
|
ComputedColumn(context)
+ |
+ Watermark(context)
)
}
+void Watermark(TableCreationContext context) :
+{
+ SqlIdentifier columnName;
+ SqlParserPos pos;
+ SqlNode watermarkStrategy;
+}
+{
+ <WATERMARK> <FOR>
Review comment:
Could we also remove the reserved keywords from the old Blink design? I think there are still commented out test cases and keywords in the parser.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services