jiangxin369 commented on code in PR #233:
URL: https://github.com/apache/flink-ml/pull/233#discussion_r1172048915


##########
flink-ml-iteration/src/main/java/org/apache/flink/iteration/operator/allround/OneInputAllRoundWrapperOperator.java:
##########
@@ -87,7 +90,9 @@ public void 
setKeyContextElement(StreamRecord<IterationRecord<IN>> record) throw
     @Override
     public void endInput() throws Exception {
         if (wrappedOperator instanceof BoundedOneInput) {
+            setIterationContextRound(iterationContextRound);

Review Comment:
   Yes, you are right. It's safe and simpler. I've updated and please have 
another look.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to