GitHub user map222 opened a pull request:

    https://github.com/apache/spark/pull/17865

    [SPARK-20456][Docs] Add examples for functions collection for pyspark

    ## What changes were proposed in this pull request?
    
    This adds documentation to many functions in pyspark.sql.functions.py:
    `upper`, `lower`, `reverse`, `unix_timestamp`, `from_unixtime`, `rand`, 
`randn`, `collect_list`, `collect_set`, `lit`
    Add units to the trigonometry functions.
    Renames columns in datetime examples to be more informative.
    Adds links between some functions.
    
    ## How was this patch tested?
    
    `./dev/lint-python`
    `python python/pyspark/sql/functions.py`
    `./python/run-tests.py --module pyspark-sql`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/map222/spark spark-20456

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17865.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 #17865
    
----
commit 91515c620287e193c6d208038025fe194740e4d2
Author: Michael Patterson <[email protected]>
Date:   2017-05-05T00:26:56Z

    First revision: trigonometry units, lit, collect_set, collect_list, 
unix_timestamp, from_unixtime

----


---
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]

Reply via email to