You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/11/24 09:03:10 UTC

[jira] [Created] (SPARK-11946) Audit pivot API for 1.6

Reynold Xin created SPARK-11946:
-----------------------------------

             Summary: 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