{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/48513725","id":48513725,"diff_hunk":"@@ -218,10 +257,22 @@ case class Conv(numExpr: Expression, fromBaseExpr: Expression, toBaseExpr: Expre\n   }\n }\n \n+@ExpressionDescription(\n+  usage = \"_FUNC_(value) - Returns Euler's number e raised to the power of a double value.\",\n+  extended = \"> SELECT _FUNC_(1.0);\\n2.718281828459045\")\n case class Exp(child: Expression) extends UnaryMathExpression(math.exp, \"EXP\")\n \n+@ExpressionDescription(\n+  usage = \"_FUNC_(value) - Returns e^x -1.\",","path":"sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala","position":93,"original_position":93,"commit_id":"12d129dc64a68551f3a18b9fe8f2f08aca810fde","original_commit_id":"12d129dc64a68551f3a18b9fe8f2f08aca810fde","user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"body":"add a space after -","created_at":"2015-12-28T23:47:27Z","updated_at":"2015-12-28T23:47:27Z","html_url":"https://github.com/apache/spark/pull/10489#discussion_r48513725","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/10489","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/48513725"},"html":{"href":"https://github.com/apache/spark/pull/10489#discussion_r48513725"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/10489"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10489","id":54614966,"html_url":"https://github.com/apache/spark/pull/10489","diff_url":"https://github.com/apache/spark/pull/10489.diff","patch_url":"https://github.com/apache/spark/pull/10489.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/10489","number":10489,"state":"open","locked":false,"title":"[SPARK-12461] [SQL] Add ExpressionDescription to math functions","user":{"login":"vectorijk","id":3419881,"avatar_url":"https://avatars.githubusercontent.com/u/3419881?v=3","gravatar_id":"","url":"https://api.github.com/users/vectorijk","html_url":"https://github.com/vectorijk","followers_url":"https://api.github.com/users/vectorijk/followers","following_url":"https://api.github.com/users/vectorijk/following{/other_user}","gists_url":"https://api.github.com/users/vectorijk/gists{/gist_id}","starred_url":"https://api.github.com/users/vectorijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vectorijk/subscriptions","organizations_url":"https://api.github.com/users/vectorijk/orgs","repos_url":"https://api.github.com/users/vectorijk/repos","events_url":"https://api.github.com/users/vectorijk/events{/privacy}","received_events_url":"https://api.github.com/users/vectorijk/received_events","type":"User","site_admin":false},"body":"cc @yhuai ","created_at":"2015-12-27T10:02:56Z","updated_at":"2015-12-28T23:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ab0e49698db8ed3170d2f58d9c1f7bd2802665b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/10489/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/10489/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/10489/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/12d129dc64a68551f3a18b9fe8f2f08aca810fde","head":{"label":"vectorijk:spark-12461","ref":"spark-12461","sha":"12d129dc64a68551f3a18b9fe8f2f08aca810fde","user":{"login":"vectorijk","id":3419881,"avatar_url":"https://avatars.githubusercontent.com/u/3419881?v=3","gravatar_id":"","url":"https://api.github.com/users/vectorijk","html_url":"https://github.com/vectorijk","followers_url":"https://api.github.com/users/vectorijk/followers","following_url":"https://api.github.com/users/vectorijk/following{/other_user}","gists_url":"https://api.github.com/users/vectorijk/gists{/gist_id}","starred_url":"https://api.github.com/users/vectorijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vectorijk/subscriptions","organizations_url":"https://api.github.com/users/vectorijk/orgs","repos_url":"https://api.github.com/users/vectorijk/repos","events_url":"https://api.github.com/users/vectorijk/events{/privacy}","received_events_url":"https://api.github.com/users/vectorijk/received_events","type":"User","site_admin":false},"repo":{"id":43246256,"name":"spark","full_name":"vectorijk/spark","owner":{"login":"vectorijk","id":3419881,"avatar_url":"https://avatars.githubusercontent.com/u/3419881?v=3","gravatar_id":"","url":"https://api.github.com/users/vectorijk","html_url":"https://github.com/vectorijk","followers_url":"https://api.github.com/users/vectorijk/followers","following_url":"https://api.github.com/users/vectorijk/following{/other_user}","gists_url":"https://api.github.com/users/vectorijk/gists{/gist_id}","starred_url":"https://api.github.com/users/vectorijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vectorijk/subscriptions","organizations_url":"https://api.github.com/users/vectorijk/orgs","repos_url":"https://api.github.com/users/vectorijk/repos","events_url":"https://api.github.com/users/vectorijk/events{/privacy}","received_events_url":"https://api.github.com/users/vectorijk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vectorijk/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/vectorijk/spark","forks_url":"https://api.github.com/repos/vectorijk/spark/forks","keys_url":"https://api.github.com/repos/vectorijk/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vectorijk/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vectorijk/spark/teams","hooks_url":"https://api.github.com/repos/vectorijk/spark/hooks","issue_events_url":"https://api.github.com/repos/vectorijk/spark/issues/events{/number}","events_url":"https://api.github.com/repos/vectorijk/spark/events","assignees_url":"https://api.github.com/repos/vectorijk/spark/assignees{/user}","branches_url":"https://api.github.com/repos/vectorijk/spark/branches{/branch}","tags_url":"https://api.github.com/repos/vectorijk/spark/tags","blobs_url":"https://api.github.com/repos/vectorijk/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vectorijk/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vectorijk/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/vectorijk/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vectorijk/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/vectorijk/spark/languages","stargazers_url":"https://api.github.com/repos/vectorijk/spark/stargazers","contributors_url":"https://api.github.com/repos/vectorijk/spark/contributors","subscribers_url":"https://api.github.com/repos/vectorijk/spark/subscribers","subscription_url":"https://api.github.com/repos/vectorijk/spark/subscription","commits_url":"https://api.github.com/repos/vectorijk/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/vectorijk/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/vectorijk/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/vectorijk/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/vectorijk/spark/contents/{+path}","compare_url":"https://api.github.com/repos/vectorijk/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vectorijk/spark/merges","archive_url":"https://api.github.com/repos/vectorijk/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vectorijk/spark/downloads","issues_url":"https://api.github.com/repos/vectorijk/spark/issues{/number}","pulls_url":"https://api.github.com/repos/vectorijk/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/vectorijk/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/vectorijk/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vectorijk/spark/labels{/name}","releases_url":"https://api.github.com/repos/vectorijk/spark/releases{/id}","created_at":"2015-09-27T12:46:22Z","updated_at":"2015-09-27T12:46:53Z","pushed_at":"2015-12-28T04:14:54Z","git_url":"git://github.com/vectorijk/spark.git","ssh_url":"git@github.com:vectorijk/spark.git","clone_url":"https://github.com/vectorijk/spark.git","svn_url":"https://github.com/vectorijk/spark","homepage":null,"size":136752,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"1e97813951674aa5419744b455a4c7340462ac59","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-12-28T22:05:27Z","pushed_at":"2015-12-28T23:45:17Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":395362,"stargazers_count":6732,"watchers_count":6732,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6219,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":405,"forks":6219,"open_issues":405,"watchers":6732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/10489"},"html":{"href":"https://github.com/apache/spark/pull/10489"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/10489"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/10489/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/10489/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/10489/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/12d129dc64a68551f3a18b9fe8f2f08aca810fde"}}}}