flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7568) Bring window documentation up-to-date with latest changes and improve
Date Tue, 05 Sep 2017 12:29:00 GMT

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

ASF GitHub Bot commented on FLINK-7568:
---------------------------------------

Github user alpinegizmo commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4634#discussion_r136973577
  
    --- Diff: docs/dev/stream/operators/windows.md ---
    @@ -460,118 +465,14 @@ The above example appends all input `Long` values to an initially
empty `String`
     
     <span class="label label-danger">Attention</span> `fold()` cannot be used
with session windows or other mergeable windows.
     
    -### WindowFunction - The Generic Case
    +### ProcessWindowFunction
     
    -A `WindowFunction` gets an `Iterable` containing all the elements of the window and provides
    +A `ProcessWindowFunction` gets an `Iterable` containing all the elements of the window
and provides
     the most flexibility of all window functions. This comes
    --- End diff --
    
    A `ProcessWindowFunction` gets an `Iterable` containing all the elements of the window,
and a `Context` object with access to time and state information, which enables it to provide
more flexibility than other window functions.


> Bring window documentation up-to-date with latest changes and improve
> ---------------------------------------------------------------------
>
>                 Key: FLINK-7568
>                 URL: https://issues.apache.org/jira/browse/FLINK-7568
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>
> Off the top of my head:
>  - Make {{ProcessWindowFunction}} the primary window function, threat {{WindowFunction}}
as legacy
>  - Document more specifically how windowing behaves: window boundaries, chaining of several
windowed operations, timestamps of emitted data, what is "key" in a {{ProcessWindowFunction}}...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message