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:

    https://github.com/apache/flink/pull/3191#discussion_r97833002
  
    --- Diff: docs/dev/windows.md ---
    @@ -758,8 +831,33 @@ input
     val input: DataStream[T] = ...
     
     input
    -    .windowAll(<window assigner>)
    +    .keyBy(<key selector>)
    +    .window(<window assigner>)
    +    .allowedLateness(<time>)
         .<windowed transformation>(<window function>)
     {% endhighlight %}
     </div>
     </div>
    +
    +<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.
---

Mime
View raw message