GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/9929
[SPARK-11946][SQL] Audit pivot API for 1.6.
Currently pivot's signature looks like
```scala
@scala.annotation.varargs
def pivot(pivotColumn: Column, values: Column*): GroupedData
@scala.annotation.varargs
def pivot(pivotColumn: String, values: Any*): GroupedData
```
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.
I also made similar changes for Python.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-11946
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/9929.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9929
----
commit 6e1860409565c387445bbcaeeb5e3b4b8a0dcc41
Author: Reynold Xin <[email protected]>
Date: 2015-11-24T08:02:58Z
[SPARK-11946][SQL] Audit pivot API for 1.6.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]