Maxim Gekk created SPARK-24722: ---------------------------------- Summary: 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
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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org