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/11/24 09:04:10 UTC
[jira] [Commented] (SPARK-11946) Audit pivot API for 1.6
[ https://issues.apache.org/jira/browse/SPARK-11946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023950#comment-15023950 ]
Apache Spark commented on SPARK-11946:
--------------------------------------
User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/9929
> Audit pivot API for 1.6
> -----------------------
>
> Key: SPARK-11946
> URL: https://issues.apache.org/jira/browse/SPARK-11946
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Reynold Xin
>
> Currently pivot's signature looks like
> {code}
> @scala.annotation.varargs
> def pivot(pivotColumn: Column, values: Column*): GroupedData
> @scala.annotation.varargs
> def pivot(pivotColumn: String, values: Any*): GroupedData
> {code}
> I think we can remove the one that takes "Column" types, since callers should always be passing in literals. It'd also be more clear if the values are not varargs, but rather Seq or java.util.List.
--
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