Github user pnowojski commented on a diff in the pull request:
https://github.com/apache/flink/pull/5481#discussion_r169571436
--- Diff:
flink-streaming-scala/src/test/scala/org/apache/flink/streaming/api/scala/DataStreamTest.scala
---
@@ -448,11 +447,35 @@ class DataStreamTest extends AbstractTestBase {
val flatMapped = src.keyBy(x => x).process(processFunction)
assert(processFunction == getFunctionForDataStream(flatMapped))
+
assert(getOperatorForDataStream(flatMapped).isInstanceOf[LegacyKeyedProcessOperator[_,
_, _]])
+ }
+
+ /**
+ * Verify that a [[KeyedStream.process(KeyedProcessFunction)]] call is
correctly
--- End diff --
ditto
---