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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)