You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/25 07:44:00 UTC

[jira] [Commented] (FLINK-8364) Add iterator() to ListState which returns empty iterator when it has no value

    [ https://issues.apache.org/jira/browse/FLINK-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338862#comment-16338862 ] 

ASF GitHub Bot commented on FLINK-8364:
---------------------------------------

GitHub user bowenli86 opened a pull request:

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

    [FLINK-8364][state backend] Add iterator() to ListState which returns empty iterator when it has no value

    ## What is the purpose of the change
    
    Add iterator() to ListState which returns empty iterator when it has no value
    
    ## Brief change log
    
    Add iterator() to ListState which returns empty iterator when it has no value
    
    ## Verifying this change
    
    This change added tests and can be verified by extending `StateBackendTestBase#testListStateAPIs()`
    
    ## Does this pull request potentially affect one of the following parts:
    
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (yes)
      - If yes, how is the feature documented? (docs / JavaDocs)


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

    $ git pull https://github.com/bowenli86/flink FLINK-8364

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

    https://github.com/apache/flink/pull/5356.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 #5356
    
----
commit fe3ae4e4798fb3f1a440dee737298718143edaf3
Author: Bowen Li <bo...@...>
Date:   2018-01-25T07:01:46Z

    [FLINK-8364] Add iterator() to ListState which returns empty iterator when it has no value

commit c6a3e6bdb276b910e679bfa12a1abadaf2c9fcf8
Author: Bowen Li <bo...@...>
Date:   2018-01-25T07:41:46Z

    add doc and unit test

----


> Add iterator() to ListState which returns empty iterator when it has no value
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-8364
>                 URL: https://issues.apache.org/jira/browse/FLINK-8364
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.4.0
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Major
>             Fix For: 1.5.0
>
>
> Add iterator() to ListState which returns empty iterator when it has no value



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)