fhueske commented on a change in pull request #6625: [hotfix][docs] Fix some 
error about the example of stateful source function in state documentatition
URL: https://github.com/apache/flink/pull/6625#discussion_r214277957
 
 

 ##########
 File path: docs/dev/stream/state/state.md
 ##########
 @@ -702,7 +702,7 @@ class CounterSource
 
   override def restoreState(state: util.List[Long]): Unit =
     for (s <- state) {
-      offset = s
+      offset += s
 
 Review comment:
   Same as above

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to