GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/20545
[SPARK-23359][SQL] Adds an alias 'names' of 'fieldNames' in Scala
## What changes were proposed in this pull request?
This PR proposes to add an alias 'names' of 'fieldNames' in Scala. Please
see the discussion in
[SPARK-20090](https://issues.apache.org/jira/browse/SPARK-20090).
## How was this patch tested?
Unit tests added in `DataTypeSuite.scala`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark SPARK-23359
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20545.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 #20545
----
commit 664a62c7da9ba5da2007d40ef9c157f7e82938c5
Author: hyukjinkwon <gurwls223@...>
Date: 2018-02-08T12:38:25Z
Adds an alias 'names' for 'fieldNames' in Scala
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]