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