You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/05/05 02:06:04 UTC

[jira] [Commented] (SPARK-20456) Add examples for functions collection for pyspark

    [ https://issues.apache.org/jira/browse/SPARK-20456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997720#comment-15997720 ] 

Apache Spark commented on SPARK-20456:
--------------------------------------

User 'map222' has created a pull request for this issue:
https://github.com/apache/spark/pull/17865

> Add examples for functions collection for pyspark
> -------------------------------------------------
>
>                 Key: SPARK-20456
>                 URL: https://issues.apache.org/jira/browse/SPARK-20456
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, PySpark
>    Affects Versions: 2.1.0
>            Reporter: Michael Patterson
>            Priority: Minor
>
> Document sql.functions.py:
> 1. Add examples for the common string functions (upper, lower, and reverse)
> 2. Rename columns in datetime examples to be more informative (e.g. from 'd' to 'date')
> 3. Add examples for unix_timestamp, from_unixtime, rand, randn, collect_list, collect_set, lit, 
> 4. Add note to all trigonometry functions that units are radians.
> 5. Add links between functions, (e.g. add link to radians from toRadians)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org