[
https://issues.apache.org/jira/browse/FLINK-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647339#comment-14647339
]
ASF GitHub Bot commented on FLINK-2238:
---------------------------------------
GitHub user sachingoel0101 opened a pull request:
https://github.com/apache/flink/pull/956
[FLINK-2238][api]Add env.fromCollection(set) method to scala api
Used the same technique as in env.fromCollection(Seq) to first convert the
data to a Java Collection.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sachingoel0101/flink flink-2238
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/956.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 #956
----
commit 7a2ca2987ffc890032fd9c61ac0800b92baf5cf8
Author: Sachin Goel <[email protected]>
Date: 2015-07-30T08:24:26Z
[FLINK-2238][api]Added env.fromCollection(set) method to scala api
----
> 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)