[
https://issues.apache.org/jira/browse/FLINK-11029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716707#comment-16716707
]
ASF GitHub Bot commented on FLINK-11029:
----------------------------------------
asfgit closed pull request #7198: [FLINK-11029][docs] fixed the Incorrect
parameter in Working with state doc
URL: https://github.com/apache/flink/pull/7198
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/docs/dev/stream/state/state.md b/docs/dev/stream/state/state.md
index decf1dbe9de..a3109f2c2fa 100644
--- a/docs/dev/stream/state/state.md
+++ b/docs/dev/stream/state/state.md
@@ -142,7 +142,7 @@ is available in a `RichFunction` has these methods for
accessing state:
* `ValueState<T> getState(ValueStateDescriptor<T>)`
* `ReducingState<T> getReducingState(ReducingStateDescriptor<T>)`
* `ListState<T> getListState(ListStateDescriptor<T>)`
-* `AggregatingState<IN, OUT> getAggregatingState(AggregatingState<IN, OUT>)`
+* `AggregatingState<IN, OUT>
getAggregatingState(AggregatingStateDescriptor<IN, ACC, OUT>)`
* `FoldingState<T, ACC> getFoldingState(FoldingStateDescriptor<T, ACC>)`
* `MapState<UK, UV> getMapState(MapStateDescriptor<UK, UV>)`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Incorrect parameter in Working with state doc
> ---------------------------------------------
>
> Key: FLINK-11029
> URL: https://issues.apache.org/jira/browse/FLINK-11029
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Reporter: Yangze Guo
> Assignee: Yangze Guo
> Priority: Minor
> Labels: pull-request-available
>
> In [Working with
> State|https://ci.apache.org/projects/flink/flink-docs-master/dev/stream/state/state.html#using-managed-keyed-state],
> the parameter of getAggregatingState() method is incorrect.
> It should be AggregatingStateDescriptor<IN, ACC, OUT>.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)