GitHub user hequn8128 opened a pull request:

    https://github.com/apache/flink/pull/5094

    [FLINK-8158] [table] Fix rowtime window inner join emits late data bug

    
    ## What is the purpose of the change
    
    This pull request fixes rowtime window inner join emits late data bug. When 
executing the join, the join operator needs to make sure that no late data is 
emitted. However, the window border is not handled correctly.
    
    
    ## Brief change log
    
      - Set `WatermarkDelay` to `MaxOutputDelay + 1` instead of `MaxOutputDelay`
      - Add tests in `JoinHarnessTest`
    
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
    
      - *Added tests in `JoinHarnessTest` to check if late data is outputted*
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
      - The S3 file system connector: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hequn8128/flink 8158

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5094.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5094
    
----
commit 37d08da40150d26b0c58daf1bc85b69675bf5d64
Author: 军长 <hequn....@alibaba-inc.com>
Date:   2017-11-28T10:58:52Z

    [FLINK-8158] [table] Fix Rowtime window inner join emits late data bug

----


---

Reply via email to