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/09/07 09:32:45 UTC
[jira] [Commented] (FLINK-2627) Make Scala Data Set utils easier to
access
[ https://issues.apache.org/jira/browse/FLINK-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733338#comment-14733338 ]
ASF GitHub Bot commented on FLINK-2627:
---------------------------------------
GitHub user sachingoel0101 opened a pull request:
https://github.com/apache/flink/pull/1099
[FLINK-2627][utils]Make Scala Data Set utils easier to access
Introduces a package object for Scala data set utils to simplify usage.
New usage: `import org.apache.flink.api.scala.utils._`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sachingoel0101/flink scala_utils_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1099.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 #1099
----
commit 7df1766278111583eac24c375ec7996f1854705b
Author: Sachin Goel <sa...@gmail.com>
Date: 2015-09-05T13:12:38Z
Makes scala utils access easier, in sync with Java utils accessor
----
> Make Scala Data Set utils easier to access
> ------------------------------------------
>
> Key: FLINK-2627
> URL: https://issues.apache.org/jira/browse/FLINK-2627
> Project: Flink
> Issue Type: Improvement
> Components: Scala API
> Reporter: Sachin Goel
> Assignee: Sachin Goel
> Priority: Trivial
>
> Currently, to use the Scala Data Set utility functions, one needs to import
> {{import org.apache.flink.api.scala.DataSetUtils.utilsToDataSet}}
> This is counter-intuitive, extra complicated and should be more in sync with how Java utils are imported. I propose a package object which can allow importing utils like
> {{import org.apache.flink.api.scala.utils._}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)