wydhcws commented on a change in pull request #15742:
URL: https://github.com/apache/flink/pull/15742#discussion_r621395559
##########
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.
thanks for your suggestion, but I don’t want to change too much code ,I
think I need to exercise for a few more years
--
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]