You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/11/15 12:21:51 UTC

[GitHub] zentol commented on issue #6625: [hotfix][docs] Fix some error about the example of stateful source function in state documentatition

zentol commented on issue #6625: [hotfix][docs] Fix some error about the example of stateful source function in state documentatition
URL: https://github.com/apache/flink/pull/6625#issuecomment-439022147
 
 
   No, that's not sufficient. Even if we're saying that they are just counts, then adding them up still doesn't make sense either, or rather is quite questionable.
   For example, if you had a run with parallelism=2, then both sources would emit 1, 2, 3, ... ,X and 1, 2, 3, ... ,Y respectively, but when you restore with parallelism=1 the source would continue from X + Y. I have a very hard time figuring out a use-case where this makes sense.
   
   I'm closing this PR since changing this example (if we really decide to do it) goes beyond the scope of a hotfix.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services