[
https://issues.apache.org/jira/browse/FLINK-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467345#comment-16467345
]
ASF GitHub Bot commented on FLINK-9058:
---------------------------------------
Github user sihuazhou commented on the issue:
https://github.com/apache/flink/pull/5749
Hi, @StefanRRichter That's a good question, I think the `Collection` looks
better then `Iterable`... the benefit is that the api looks more consistency
with the java api, and maybe convenient to users in some scenario. (e.g. when
they want to add a `Set` of elements, they don't need to convert it to a `List`
anymore)
> Relax ListState.addAll() and ListState.update() to take Iterable
> ----------------------------------------------------------------
>
> Key: FLINK-9058
> URL: https://issues.apache.org/jira/browse/FLINK-9058
> Project: Flink
> Issue Type: Improvement
> Components: State Backends, Checkpointing
> Reporter: Aljoscha Krettek
> Assignee: Aljoscha Krettek
> Priority: Major
> Fix For: 1.5.0
>
>
> [~srichter] What do you think about this. None of the implementations require
> the parameter to actually be a list and allowing an {{Iterable}} there allows
> calling it in situations where all you have is an {{Iterable}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)