GitHub user sujithjay opened a pull request:
https://github.com/apache/spark/pull/18254
Fixed typo in sql.functions
## What changes were proposed in this pull request?
I fixed a typo in the Scaladoc for the method `def struct(cols: Column*):
Column`. 'retained' was misspelt as 'remained'.
## How was this patch tested?
Before:
Creates a new struct column.
If the input column is a column in a `DataFrame`, or a derived column
expression
that is named (i.e. aliased), its name would be **remained** as the
StructField's name,
otherwise, the newly generated StructField's name would be auto
generated as
`col` with a suffix `index + 1`, i.e. col1, col2, col3, ...
After:
Creates a new struct column.
If the input column is a column in a `DataFrame`, or a derived column
expression
that is named (i.e. aliased), its name would be **retained** as the
StructField's name,
otherwise, the newly generated StructField's name would be auto
generated as
`col` with a suffix `index + 1`, i.e. col1, col2, col3, ...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sujithjay/spark fix-typo
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18254.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 #18254
----
commit b9e735244871d83f50601be19fe74d1b3c025b61
Author: sujithjay <[email protected]>
Date: 2017-06-09T19:07:19Z
Fixed typo in sql.functions
----
---
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]