GitHub user gyfora opened a pull request:

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

    [FLINK-2664] [streaming] Allow partitioned state removal

    This PR changes the way Partitioned states handle null values.
    
    Before this PR the user was not allowed to put null values in a partitioned 
state and an exception was thrown. This did not allow the user to remove the 
state for the current key (so the default value will be retreived next time).
    
    Now whenever a user updates a partitioned state with a null value, the 
system will remove the state for the respective key from that map containing 
all the <key,state> pairs allowing for the garbage collection of unwanted user 
state.
    
    The StatefulOperatorTest has also been modified to test for the changed 
behavior.

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

    $ git pull https://github.com/gyfora/flink 2664

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

    https://github.com/apache/flink/pull/1126.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 #1126
    
----
commit dd40ea508f78c0487e003de2c2cf13cb12681db9
Author: Gyula Fora <gyf...@apache.org>
Date:   2015-09-14T09:13:29Z

    [FLINK-2664] [streaming] Allow partitioned state removal

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to