[
https://issues.apache.org/jira/browse/FLINK-5335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15748472#comment-15748472
]
ASF GitHub Bot commented on FLINK-5335:
---------------------------------------
Github user StefanRRichter commented on a diff in the pull request:
https://github.com/apache/flink/pull/3005#discussion_r92403863
--- Diff:
flink-streaming-java/src/test/java/org/apache/flink/streaming/util/AbstractStreamOperatorTestHarness.java
---
@@ -143,6 +144,15 @@ public AbstractStreamOperatorTestHarness(
when(mockTask.getExecutionConfig()).thenReturn(executionConfig);
when(mockTask.getUserCodeClassLoader()).thenReturn(this.getClass().getClassLoader());
when(mockTask.getCancelables()).thenReturn(this.closableRegistry);
+
when(mockTask.createOperatorStateBackend(any(StreamOperator.class),
any(Collection.class))).
--- End diff --
Oh yes, that is true :D
> 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)