flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7446) Support to define an existing field as the rowtime field for TableSource
Date Fri, 18 Aug 2017 06:45:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131805#comment-16131805
] 

Fabian Hueske commented on FLINK-7446:
--------------------------------------

That's in fact a good question. In principle we could avoid timestamp extraction. However,
we need to generate watermarks and both things go together in the DataStream API. I see two
options: generate timestamps and watermarks and validate that field and extracted timestamp
are the same or create new interfaces / operators that generate watermarks based on a field.


> Support to define an existing field as the rowtime field for TableSource
> ------------------------------------------------------------------------
>
>                 Key: FLINK-7446
>                 URL: https://issues.apache.org/jira/browse/FLINK-7446
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>
> Currently {{DefinedRowtimeAttribute}} can define an appended rowtime field for a {{TableSource}}.
But it would be helpful if we can support to define an existing field as the rowtime field.
Just like registering a DataStream, the rowtime field can be appended but also can replace
an existing field.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message