Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4625#discussion_r142682283
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamWindowJoin.scala
 ---
    @@ -152,19 +176,40 @@ class DataStreamWindowJoin(
         }
       }
     
    -  def createProcTimeInnerJoinFunction(
    +  def createEmptyInnerJoin(
    +      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.
    +        }
    +      })
    --- End diff --
    
    add a `returns(returnTypeInfo)` call to ensure we use the right type.


---

Reply via email to