[
https://issues.apache.org/jira/browse/FLINK-5721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854244#comment-15854244
]
ASF GitHub Bot commented on FLINK-5721:
---------------------------------------
Github user NicoK commented on a diff in the pull request:
https://github.com/apache/flink/pull/3272#discussion_r99614763
--- Diff: docs/dev/stream/state.md ---
@@ -113,9 +113,19 @@ be retrieved using `Iterable<T> get()`.
added to the state. The interface is the same as for `ListState` but
elements added using
`add(T)` are reduced to an aggregate using a specified `ReduceFunction`.
+* `FoldingState<T, ACC>`: This keeps a single value that represents the
aggregation of all values
+added to the state. Contrary to `ReducingState`, the aggregate type is
different from the type of
--- End diff --
...the aggregate type **may be** different from...
> Add FoldingState to State Documentation
> ---------------------------------------
>
> Key: FLINK-5721
> URL: https://issues.apache.org/jira/browse/FLINK-5721
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)