You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/08/04 06:19:00 UTC
[jira] [Resolved] (SPARK-24722) Column-based API for pivoting
[ https://issues.apache.org/jira/browse/SPARK-24722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-24722.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.4.0
Issue resolved by pull request 21699
[https://github.com/apache/spark/pull/21699]
> 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
> Assignee: Maxim Gekk
> Priority: Minor
> Fix For: 2.4.0
>
>
> 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