GitHub user hequn8128 opened a pull request:

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

    [FLINK-8550][table] Iterate over entryset instead of keys

    
    ## What is the purpose of the change
    
    Iterate over entrysets instead of keys when we want to get both key and 
value. I went over the code in flink. Luckily, there are not many places we 
need to optimize.  
    
    
    ## Brief change log
    
      - Iterate over entrysets instead of keys when we want to get both key and 
value
    
    
    ## Verifying this change
    
    This change is already covered by existing tests, such as 
    `OverWindowHarnessTest` for changes in `ProcTimeBoundedRangeOver`
    `OverWindowITCase` for changes in `RowTimeBoundedRangeOver`
    `GroupWindowITCase` for changes in `JavaUserDefinedAggFunctions`
    `CorrelateITCase` for changes in `UserDefinedTableFunctions`
    
    
    ## 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 8550

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

    https://github.com/apache/flink/pull/5404.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 #5404
    
----
commit 24a44c4c160e11f85d422b1acdfba20ea10a1a45
Author: hequn8128 <chenghequn@...>
Date:   2018-02-02T09:33:50Z

    [FLINK-8550][table] Iterate over entryset instead of keys

----


---

Reply via email to