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 2018/07/02 21:09:00 UTC

[jira] [Assigned] (SPARK-24722) Column-based API for pivoting

     [ https://issues.apache.org/jira/browse/SPARK-24722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-24722:
------------------------------------

    Assignee:     (was: Apache Spark)

> Column-based API for pivoting
> -----------------------------
>
>                 Key: SPARK-24722
>                 URL: https://issues.apache.org/jira/browse/SPARK-24722
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Priority: Minor
>
> Currently, the pivot() function accepts the pivot column as a string. It is not consistent to groupBy API and causes additional problem of using nested columns as the pivot column.
> `Column` support is needed for (a) API consistency, (b) user productivity and (c) performance. In general, we should follow to the POLA - https://en.wikipedia.org/wiki/Principle_of_least_astonishment in designing of the API.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org