You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/26 06:24:46 UTC
[jira] [Commented] (SPARK-10270) Add/Replace some Java friendly
DataFrame API
[ https://issues.apache.org/jira/browse/SPARK-10270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712482#comment-14712482 ]
Apache Spark commented on SPARK-10270:
--------------------------------------
User 'chenghao-intel' has created a pull request for this issue:
https://github.com/apache/spark/pull/8450
> Add/Replace some Java friendly DataFrame API
> --------------------------------------------
>
> Key: SPARK-10270
> URL: https://issues.apache.org/jira/browse/SPARK-10270
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Cheng Hao
>
> Currently in DataFrame, we have API like:
> {code}
> def join(right: DataFrame, usingColumns: Seq[String]): DataFrame
> def dropDuplicates(colNames: Seq[String]): DataFrame
> def dropDuplicates(colNames: Array[String]): DataFrame
> {code}
> Those API not like the so friendly to Java programmers, change it to:
> {code}
> def join(right: DataFrame, usingColumns: String*): DataFrame
> def dropDuplicates(colNames: String*): DataFrame
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org