Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/4625#discussion_r139386887 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamWindowJoin.scala --- @@ -196,53 +215,69 @@ class DataStreamWindowJoin( } } + def createEmptyInnerJoinFunction( + leftDataStream: DataStream[CRow], + rightDataStream: DataStream[CRow], + returnTypeInfo: TypeInformation[CRow]) = { + leftDataStream.connect(rightDataStream).process( + new CoProcessFunction[CRow, CRow, CRow] { + override def processElement1( + value: CRow, + ctx: CoProcessFunction[CRow, CRow, CRow]#Context, + out: Collector[CRow]) = { + //Do nothing. + } + override def processElement2( + value: CRow, + ctx: CoProcessFunction[CRow, CRow, CRow]#Context, + out: Collector[CRow]) = { + //Do nothing. + } + }) + } def createRowTimeInnerJoinFunction( --- End diff -- rename method to `createRowTimeInnerJoin()` as it does not return the function but a joined stream.
---