{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/32592080","id":32592080,"diff_hunk":"@@ -255,3 +257,39 @@ case class Pow(left: Expression, right: Expression)\n       \"\"\"\n   }\n }\n+\n+case class Round(left: Expression, right: Expression)","path":"sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/math.scala","position":18,"original_position":18,"commit_id":"4069bba95e18729498e9f97d2c23ed579b5b1b83","original_commit_id":"4069bba95e18729498e9f97d2c23ed579b5b1b83","user":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars.githubusercontent.com/u/2662017?v=3","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"body":"left and right are here for implement the abstract fields of the super class `BinaryNode`, so I guess we cann't refactor the name here at will","created_at":"2015-06-17T03:02:42Z","updated_at":"2015-06-17T03:02:42Z","html_url":"https://github.com/apache/spark/pull/6836#discussion_r32592080","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/6836","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/32592080"},"html":{"href":"https://github.com/apache/spark/pull/6836#discussion_r32592080"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/6836"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6836","id":37761519,"html_url":"https://github.com/apache/spark/pull/6836","diff_url":"https://github.com/apache/spark/pull/6836.diff","patch_url":"https://github.com/apache/spark/pull/6836.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/6836","number":6836,"state":"open","locked":false,"title":"[SPARK-8206][SQL][WIP]Add function round ","user":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars.githubusercontent.com/u/2662017?v=3","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-16T05:48:15Z","updated_at":"2015-06-17T03:02:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7ae3247b324fd1f1125a2cf1bfae838db8935a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/6836/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/6836/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/6836/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/4069bba95e18729498e9f97d2c23ed579b5b1b83","head":{"label":"zhichao-li:round","ref":"round","sha":"4069bba95e18729498e9f97d2c23ed579b5b1b83","user":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars.githubusercontent.com/u/2662017?v=3","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"repo":{"id":30742930,"name":"spark","full_name":"zhichao-li/spark","owner":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars.githubusercontent.com/u/2662017?v=3","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhichao-li/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/zhichao-li/spark","forks_url":"https://api.github.com/repos/zhichao-li/spark/forks","keys_url":"https://api.github.com/repos/zhichao-li/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhichao-li/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhichao-li/spark/teams","hooks_url":"https://api.github.com/repos/zhichao-li/spark/hooks","issue_events_url":"https://api.github.com/repos/zhichao-li/spark/issues/events{/number}","events_url":"https://api.github.com/repos/zhichao-li/spark/events","assignees_url":"https://api.github.com/repos/zhichao-li/spark/assignees{/user}","branches_url":"https://api.github.com/repos/zhichao-li/spark/branches{/branch}","tags_url":"https://api.github.com/repos/zhichao-li/spark/tags","blobs_url":"https://api.github.com/repos/zhichao-li/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhichao-li/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhichao-li/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhichao-li/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhichao-li/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/zhichao-li/spark/languages","stargazers_url":"https://api.github.com/repos/zhichao-li/spark/stargazers","contributors_url":"https://api.github.com/repos/zhichao-li/spark/contributors","subscribers_url":"https://api.github.com/repos/zhichao-li/spark/subscribers","subscription_url":"https://api.github.com/repos/zhichao-li/spark/subscription","commits_url":"https://api.github.com/repos/zhichao-li/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhichao-li/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhichao-li/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhichao-li/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhichao-li/spark/contents/{+path}","compare_url":"https://api.github.com/repos/zhichao-li/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhichao-li/spark/merges","archive_url":"https://api.github.com/repos/zhichao-li/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhichao-li/spark/downloads","issues_url":"https://api.github.com/repos/zhichao-li/spark/issues{/number}","pulls_url":"https://api.github.com/repos/zhichao-li/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/zhichao-li/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/zhichao-li/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhichao-li/spark/labels{/name}","releases_url":"https://api.github.com/repos/zhichao-li/spark/releases{/id}","created_at":"2015-02-13T06:06:08Z","updated_at":"2015-04-14T06:24:38Z","pushed_at":"2015-06-17T02:50:38Z","git_url":"git://github.com/zhichao-li/spark.git","ssh_url":"git@github.com:zhichao-li/spark.git","clone_url":"https://github.com/zhichao-li/spark.git","svn_url":"https://github.com/zhichao-li/spark","homepage":null,"size":106300,"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":"1a62d61696a0481508d83a07d19ab3701245ac20","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-06-17T02:20:12Z","pushed_at":"2015-06-17T03:00:21Z","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":1457022,"stargazers_count":4394,"watchers_count":4394,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3866,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":368,"forks":3866,"open_issues":368,"watchers":4394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/6836"},"html":{"href":"https://github.com/apache/spark/pull/6836"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/6836"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/6836/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/6836/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/6836/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/4069bba95e18729498e9f97d2c23ed579b5b1b83"}}}}