wydhcws commented on a change in pull request #15742:
URL: https://github.com/apache/flink/pull/15742#discussion_r621392135



##########
File path: 
flink-libraries/flink-cep-scala/src/main/scala/org/apache/flink/cep/scala/PatternStream.scala
##########
@@ -447,17 +447,17 @@ class PatternStream[T](jPatternStream: JPatternStream[T]) 
{
   }
 
  def sideOutputLateData(lateDataOutputTag: OutputTag[T]): PatternStream[T] = {
-   jPatternStream.sideOutputLateData(lateDataOutputTag)
+   jPatternStream = jPatternStream.sideOutputLateData(lateDataOutputTag)

Review comment:
       > I'd rather suggest creating a new scala `PatternStream`. Having a 
mutable `var` does not look good.
   
   sir,  I have committed  a new version ,  is this way suitable?




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

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


Reply via email to