flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljoscha <...@git.apache.org>
Subject [GitHub] flink pull request #3191: [FLINK-5529] [FLINK-4752] [docs] Improve / extends...
Date Wed, 25 Jan 2017 17:32:12 GMT
Github user aljoscha commented on a diff in the pull request:

    --- Diff: docs/dev/windows.md ---
    @@ -758,8 +831,33 @@ input
     val input: DataStream[T] = ...
    -    .windowAll(<window assigner>)
    +    .keyBy(<key selector>)
    +    .window(<window assigner>)
    +    .allowedLateness(<time>)
         .<windowed transformation>(<window function>)
     {% endhighlight %}
    +<span class="label label-info">Note</span> When using the `GlobalWindows`
window assigner no
    +data is ever considered late because the end timestamp of the global window is `Long.MAX_VALUE`.
    +### Late elements considerations
    +When specifying an allowed lateness greater than 0, the window along with its content
is kept after the watermark passes
    +the end of the window. In these cases, when a late but not dropped element arrives, it
will trigger another firing for the 
    --- End diff --
    Not "it will trigger" but "it could trigger" (all depends on the Trigger 😉 )

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message