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

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

Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3005#discussion_r92403232
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java
 ---
    @@ -41,6 +41,7 @@
         * @param checkpointId The ID of the checkpoint.
         * @param timestamp Timestamp of the checkpoint.
         * @return The operator state in a list of redistributable, atomic 
sub-states.
    +    *         Should not return null, but empty list instead.
    --- End diff --
    
    kk 😃 


> Allow ListCheckpointed user functions to return null
> ----------------------------------------------------
>
>                 Key: FLINK-5335
>                 URL: https://issues.apache.org/jira/browse/FLINK-5335
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>
> Currently, it is not allowed to return null as result for the methods in 
> {{ListCheckpointed}}. From a usability perspective, I think it is nicer to 
> allow this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to