GitHub user misutoth opened a pull request:
https://github.com/apache/spark/pull/20674
[SPARK-23465][SQL] Introduce new function to rename columns using an
algoritm
## What changes were proposed in this pull request?
Add an additional convenient method to rename multiple of columns by
specifying a mapping between the old and the new column name.
## How was this patch tested?
Wrote additional unit test cases, ran scalastyle.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/misutoth/spark column-rename
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20674.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 #20674
----
commit f03884c3582cdb3bc2eaa034cbc0bcdcfd1c8250
Author: Mihaly Toth <misutoth@...>
Date: 2018-02-24T20:19:19Z
[SPARK-23465][SQL] Introduce new function to rename columns using an
algorithm
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]