flink-issues mailing list archives

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

    https://github.com/apache/flink/pull/4625#discussion_r137150128
  
    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/join/WindowJoinUtil.scala
---
    @@ -115,10 +118,15 @@ object WindowJoinUtil {
           case _ =>
             Some(otherPreds.reduceLeft((l, r) => RelOptUtil.andJoinFilters(rexBuilder,
l, r)))
         }
    -
    -    val bounds = Some(WindowBounds(timePreds.head.isEventTime, leftLowerBound, leftUpperBound))
    -
    -    (bounds, remainCondition)
    +    if (timePreds.head.leftInputOnLeftSide) {
    --- End diff --
    
    We should also subtract the `leftLogicalFieldCnt` for the later index?


---

Mime
View raw message