You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/30 10:26:04 UTC
[jira] [Commented] (FLINK-2238) Scala
ExecutionEnvironment.fromCollection does not work with Sets
[ 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 <sa...@gmail.com>
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)