{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/33549259","id":33549259,"diff_hunk":"@@ -1452,6 +1452,19 @@ object functions {\n    */\n   def strlen(columnName: String): Column = strlen(Column(columnName))\n \n+  /**\n+   * Return the soundex of a name\n+   * @group misc_funcs\n+   * @since 1.5.0\n+   */\n+  def soundex(e: Column): Column = SoundEx(e.expr)\n+  /**\n+   * Return the soundex of a name","path":"sql/core/src/main/scala/org/apache/spark/sql/functions.scala","position":11,"original_position":11,"commit_id":"88d0ef5198ed7a588050daeb811216bf8c50d977","original_commit_id":"88d0ef5198ed7a588050daeb811216bf8c50d977","user":{"login":"chenghao-intel","id":2367031,"avatar_url":"https://avatars.githubusercontent.com/u/2367031?v=3","gravatar_id":"","url":"https://api.github.com/users/chenghao-intel","html_url":"https://github.com/chenghao-intel","followers_url":"https://api.github.com/users/chenghao-intel/followers","following_url":"https://api.github.com/users/chenghao-intel/following{/other_user}","gists_url":"https://api.github.com/users/chenghao-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/chenghao-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenghao-intel/subscriptions","organizations_url":"https://api.github.com/users/chenghao-intel/orgs","repos_url":"https://api.github.com/users/chenghao-intel/repos","events_url":"https://api.github.com/users/chenghao-intel/events{/privacy}","received_events_url":"https://api.github.com/users/chenghao-intel/received_events","type":"User","site_admin":false},"body":"`Returns the soundex code for the specified column.`","created_at":"2015-06-30T08:09:52Z","updated_at":"2015-06-30T08:09:52Z","html_url":"https://github.com/apache/spark/pull/7115#discussion_r33549259","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/7115","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/33549259"},"html":{"href":"https://github.com/apache/spark/pull/7115#discussion_r33549259"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/7115"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7115","id":38850735,"html_url":"https://github.com/apache/spark/pull/7115","diff_url":"https://github.com/apache/spark/pull/7115.diff","patch_url":"https://github.com/apache/spark/pull/7115.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/7115","number":7115,"state":"open","locked":false,"title":"[SPARK-8271][SQL]string function: soundex","user":{"login":"HuJiayin","id":12150346,"avatar_url":"https://avatars.githubusercontent.com/u/12150346?v=3","gravatar_id":"","url":"https://api.github.com/users/HuJiayin","html_url":"https://github.com/HuJiayin","followers_url":"https://api.github.com/users/HuJiayin/followers","following_url":"https://api.github.com/users/HuJiayin/following{/other_user}","gists_url":"https://api.github.com/users/HuJiayin/gists{/gist_id}","starred_url":"https://api.github.com/users/HuJiayin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuJiayin/subscriptions","organizations_url":"https://api.github.com/users/HuJiayin/orgs","repos_url":"https://api.github.com/users/HuJiayin/repos","events_url":"https://api.github.com/users/HuJiayin/events{/privacy}","received_events_url":"https://api.github.com/users/HuJiayin/received_events","type":"User","site_admin":false},"body":"Add soundex for SQL\r\n\r\n","created_at":"2015-06-30T07:49:47Z","updated_at":"2015-06-30T08:09:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a8e604923362487058bb4d99904ae96afae78f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/7115/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/7115/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/7115/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/88d0ef5198ed7a588050daeb811216bf8c50d977","head":{"label":"HuJiayin:master","ref":"master","sha":"88d0ef5198ed7a588050daeb811216bf8c50d977","user":{"login":"HuJiayin","id":12150346,"avatar_url":"https://avatars.githubusercontent.com/u/12150346?v=3","gravatar_id":"","url":"https://api.github.com/users/HuJiayin","html_url":"https://github.com/HuJiayin","followers_url":"https://api.github.com/users/HuJiayin/followers","following_url":"https://api.github.com/users/HuJiayin/following{/other_user}","gists_url":"https://api.github.com/users/HuJiayin/gists{/gist_id}","starred_url":"https://api.github.com/users/HuJiayin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuJiayin/subscriptions","organizations_url":"https://api.github.com/users/HuJiayin/orgs","repos_url":"https://api.github.com/users/HuJiayin/repos","events_url":"https://api.github.com/users/HuJiayin/events{/privacy}","received_events_url":"https://api.github.com/users/HuJiayin/received_events","type":"User","site_admin":false},"repo":{"id":36782662,"name":"spark","full_name":"HuJiayin/spark","owner":{"login":"HuJiayin","id":12150346,"avatar_url":"https://avatars.githubusercontent.com/u/12150346?v=3","gravatar_id":"","url":"https://api.github.com/users/HuJiayin","html_url":"https://github.com/HuJiayin","followers_url":"https://api.github.com/users/HuJiayin/followers","following_url":"https://api.github.com/users/HuJiayin/following{/other_user}","gists_url":"https://api.github.com/users/HuJiayin/gists{/gist_id}","starred_url":"https://api.github.com/users/HuJiayin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HuJiayin/subscriptions","organizations_url":"https://api.github.com/users/HuJiayin/orgs","repos_url":"https://api.github.com/users/HuJiayin/repos","events_url":"https://api.github.com/users/HuJiayin/events{/privacy}","received_events_url":"https://api.github.com/users/HuJiayin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HuJiayin/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/HuJiayin/spark","forks_url":"https://api.github.com/repos/HuJiayin/spark/forks","keys_url":"https://api.github.com/repos/HuJiayin/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HuJiayin/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HuJiayin/spark/teams","hooks_url":"https://api.github.com/repos/HuJiayin/spark/hooks","issue_events_url":"https://api.github.com/repos/HuJiayin/spark/issues/events{/number}","events_url":"https://api.github.com/repos/HuJiayin/spark/events","assignees_url":"https://api.github.com/repos/HuJiayin/spark/assignees{/user}","branches_url":"https://api.github.com/repos/HuJiayin/spark/branches{/branch}","tags_url":"https://api.github.com/repos/HuJiayin/spark/tags","blobs_url":"https://api.github.com/repos/HuJiayin/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HuJiayin/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HuJiayin/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/HuJiayin/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HuJiayin/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/HuJiayin/spark/languages","stargazers_url":"https://api.github.com/repos/HuJiayin/spark/stargazers","contributors_url":"https://api.github.com/repos/HuJiayin/spark/contributors","subscribers_url":"https://api.github.com/repos/HuJiayin/spark/subscribers","subscription_url":"https://api.github.com/repos/HuJiayin/spark/subscription","commits_url":"https://api.github.com/repos/HuJiayin/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/HuJiayin/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/HuJiayin/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/HuJiayin/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/HuJiayin/spark/contents/{+path}","compare_url":"https://api.github.com/repos/HuJiayin/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HuJiayin/spark/merges","archive_url":"https://api.github.com/repos/HuJiayin/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HuJiayin/spark/downloads","issues_url":"https://api.github.com/repos/HuJiayin/spark/issues{/number}","pulls_url":"https://api.github.com/repos/HuJiayin/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/HuJiayin/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/HuJiayin/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HuJiayin/spark/labels{/name}","releases_url":"https://api.github.com/repos/HuJiayin/spark/releases{/id}","created_at":"2015-06-03T05:45:31Z","updated_at":"2015-06-03T05:45:52Z","pushed_at":"2015-06-30T07:46:06Z","git_url":"git://github.com/HuJiayin/spark.git","ssh_url":"git@github.com:HuJiayin/spark.git","clone_url":"https://github.com/HuJiayin/spark.git","svn_url":"https://github.com/HuJiayin/spark","homepage":null,"size":110351,"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":"5452457410ffe881773f2f2cdcdc752467b19720","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-30T07:37:11Z","pushed_at":"2015-06-30T08:06:13Z","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":1538721,"stargazers_count":4586,"watchers_count":4586,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4044,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":350,"forks":4044,"open_issues":350,"watchers":4586,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/7115"},"html":{"href":"https://github.com/apache/spark/pull/7115"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/7115"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/7115/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/7115/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/7115/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/88d0ef5198ed7a588050daeb811216bf8c50d977"}}}}