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



##########
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 think so, the best way is to rewrite PatternStream classs. Put 
PatternStream[T] builder into object PatternStream.




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


Reply via email to