[
https://issues.apache.org/jira/browse/FLINK-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647410#comment-14647410
]
ASF GitHub Bot commented on FLINK-2238:
---------------------------------------
Github user fhueske commented on the pull request:
https://github.com/apache/flink/pull/956#issuecomment-126253269
Hi @sachingoel0101,
thanks for the PR!
I think we don't need a new method specifically for Sets. It is sufficient
to change the parameter type of the first `fromCollection` from `Seq` to
`Iterable` to support `Set` (and other non-Seq collections).
> Scala ExecutionEnvironment.fromCollection does not work with Sets
> -----------------------------------------------------------------
>
> Key: FLINK-2238
> URL: https://issues.apache.org/jira/browse/FLINK-2238
> Project: Flink
> Issue Type: Improvement
> Components: Scala API
> Affects Versions: 0.9
> Reporter: Fabian Hueske
> Priority: Minor
> Labels: starter
>
> ExecutionEnvironment.fromCollection() of Scala's DataSet API does only work
> with Seq[T] and Iterator[T]. This excludes Set[T] which is a common
> collection type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)