flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request #4625: [FLINK-6233] [table] Support time-bounded stream i...
Date Mon, 18 Sep 2017 15:51:23 GMT
Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4625#discussion_r139386347
  
    --- 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 --
    
    Add newline


---

Mime
View raw message