flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Walther (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9740) Support group windows over intervals of months
Date Thu, 06 Dec 2018 15:47:00 GMT

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

Timo Walther commented on FLINK-9740:
-------------------------------------

I cannot see it in the JIRA yet but in any case: In general we can do it similar to your proposal.
Maybe we can also use more efficient Java 8 time classes. This is a feature where also the
DataStream API could profit from it. [~aljoscha] what it your opinion here? I guess monthly
windows should be added to DataStream API first?

> Support group windows over intervals of months 
> -----------------------------------------------
>
>                 Key: FLINK-9740
>                 URL: https://issues.apache.org/jira/browse/FLINK-9740
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API &amp; SQL
>    Affects Versions: 1.5.0
>            Reporter: Timo Walther
>            Assignee: Renjie Liu
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, time-based group windows can be defined using intervals of milliseconds such
as {{.window(Tumble over 10.minutes on 'rowtime as 'w)}}. For some use cases it might useful
to define windows of months (esp. in event-time) that work even with leap years and other
special time cases.
> The following should be supported in Table API & SQL:
> {{.window(Tumble over 1.month on 'rowtime as 'w)}}
> {{.window(Tumble over 1.quarter on 'rowtime as 'w)}}
> {{.window(Tumble over 1.year on 'rowtime as 'w)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message