You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/10/05 03:18:00 UTC

[jira] [Created] (FLINK-14321) Support to parse watermark statement in SQL DDL

Jark Wu created FLINK-14321:
-------------------------------

             Summary: Support to parse watermark statement in SQL DDL
                 Key: FLINK-14321
                 URL: https://issues.apache.org/jira/browse/FLINK-14321
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Jark Wu
            Assignee: Jark Wu


Support to parse watermark syntax in SQL DDL. This can implemented in {{flink-sql-parser}} module. 

The watermark syntax is as following:

{{WATERMARK FOR columnName AS <watermark_strategy_expression>}}

We should also do some validation during parsing, for example, whether the referenced rowtime field exist. We should also support to reference a nested field as the rowtime field. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)