{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/17865","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/17865/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/17865/comments","events_url":"https://api.github.com/repos/apache/spark/issues/17865/events","html_url":"https://github.com/apache/spark/pull/17865","id":226455194,"number":17865,"title":"[SPARK-20456][Docs] Add examples for functions collection for pyspark","user":{"login":"map222","id":3787658,"avatar_url":"https://avatars1.githubusercontent.com/u/3787658?v=3","gravatar_id":"","url":"https://api.github.com/users/map222","html_url":"https://github.com/map222","followers_url":"https://api.github.com/users/map222/followers","following_url":"https://api.github.com/users/map222/following{/other_user}","gists_url":"https://api.github.com/users/map222/gists{/gist_id}","starred_url":"https://api.github.com/users/map222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/map222/subscriptions","organizations_url":"https://api.github.com/users/map222/orgs","repos_url":"https://api.github.com/users/map222/repos","events_url":"https://api.github.com/users/map222/events{/privacy}","received_events_url":"https://api.github.com/users/map222/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2017-05-05T02:04:47Z","updated_at":"2017-07-08T06:14:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/17865","html_url":"https://github.com/apache/spark/pull/17865","diff_url":"https://github.com/apache/spark/pull/17865.diff","patch_url":"https://github.com/apache/spark/pull/17865.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis adds documentation to many functions in pyspark.sql.functions.py:\r\n`upper`, `lower`, `reverse`, `unix_timestamp`, `from_unixtime`, `rand`, `randn`, `collect_list`, `collect_set`, `lit`\r\nAdd units to the trigonometry functions.\r\nRenames columns in datetime examples to be more informative.\r\nAdds links between some functions.\r\n\r\n## How was this patch tested?\r\n\r\n`./dev/lint-python`\r\n`python python/pyspark/sql/functions.py`\r\n`./python/run-tests.py --module pyspark-sql`"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/313837222","html_url":"https://github.com/apache/spark/pull/17865#issuecomment-313837222","issue_url":"https://api.github.com/repos/apache/spark/issues/17865","id":313837222,"user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars3.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"created_at":"2017-07-08T06:14:03Z","updated_at":"2017-07-08T06:14:03Z","body":"LGTM too."}}
{"actor":{"display_login":"HyukjinKwon"}}