yanghua commented on a change in pull request #6667: [hotfix][docs] Fix error typo in CheckpointedFunction URL: https://github.com/apache/flink/pull/6667#discussion_r215675005
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/CheckpointedFunction.java ########## @@ -80,7 +80,7 @@ * countPerKey = context.getKeyedStateStore().getReducingState( * new ReducingStateDescriptor<>("perKeyCount", new AddFunction<>(), Long.class)); * - * // get the state data structure for the per-key state + * // get the state data structure for the per-partition state Review comment: Agree @dawidwys , But I think if we want to modify this comment, it is best to modify it along with the variable name `countPerPartition ` and the state descriptor name `perKeyCount`. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services