why the Row-Count-Window require proctime?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

why the Row-Count-Window require proctime?

方孝健(玄弟)
Hi devs,    The Row-Count-Window must require proctime at Table API, and the definiton for Row-Count-Window like the [1].In fact I don't understand  it. The countWindow is based on a window (range) of preceding and succeeding rows, but not the time. Thedefinition [2] for Row-Count-Window maybe friendly for users.         [1]  ".rowWindow(TumbleRows over 10.rows on ‘proctime as ‘w)".        [2]  .rowWindow(TumbleRows over 10.rows as ‘w)
Thanks,
John Fang
------------------------------------------------------------------发件人:方孝健(玄弟) <[hidden email]>发送时间:2017年6月14日(星期三) 17:46收件人:flink-dev <[hidden email]>主 题:why the Row-Count-Window require proctime?
Hi devs,    The Row-Count-Window must require proctime at Table API, and the definiton for Row-Count-Window like the [1].In fact I don't understand  it. The countWindow is based on a window (range) of preceding and succeeding rows, but not the time. Thedefinition [2] for Row-Count-Window maybe friendly for users.         [1]  ".rowWindow(TumbleRows over 10.rows on ‘proctime as ‘w)".        [2]  .rowWindow(TumbleRows over 10.rows as ‘w)
Thanks,
John Fang
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: why the Row-Count-Window require proctime?

Fabian Hueske-2
Hi John,

The semantics of a count window depend on the order of rows which is
specified by the "on" keyword.
Without the order of rows, a count window would not be fully specified and
might return arbitrary groups of rows.

Best, Fabian

2017-06-14 12:03 GMT+02:00 方孝健(玄弟) <[hidden email]>:

> Hi devs,    The Row-Count-Window must require proctime at Table API, and
> the definiton for Row-Count-Window like the [1].In fact I don't understand
>  it. The countWindow is based on a window (range) of preceding and
> succeeding rows, but not the time. Thedefinition [2] for Row-Count-Window maybe
> friendly for users.         [1]  ".rowWindow(TumbleRows over 10.rows on
> ‘proctime as ‘w)".        [2]  .rowWindow(TumbleRows over 10.rows as ‘w)
> Thanks,
> John Fang
> ------------------------------------------------------------------发件人:方孝健(玄弟)
> <[hidden email]>发送时间:2017年6月14日(星期三) 17:46收件人:flink-dev <
> [hidden email]>主 题:why the Row-Count-Window require
> proctime?
> Hi devs,    The Row-Count-Window must require proctime at Table API, and
> the definiton for Row-Count-Window like the [1].In fact I don't understand
>  it. The countWindow is based on a window (range) of preceding and
> succeeding rows, but not the time. Thedefinition [2]
> for Row-Count-Window maybe friendly for users.
>   [1]  ".rowWindow(TumbleRows over 10.rows on ‘proctime as ‘w)".
>   [2]  .rowWindow(TumbleRows over 10.rows as ‘w)
> Thanks,
> John Fang
Loading...