{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/124099510","pull_request_review_id":46359970,"id":124099510,"diff_hunk":"@@ -795,6 +795,11 @@ object SQLConf {\n       .intConf\n       .createWithDefault(UnsafeExternalSorter.DEFAULT_NUM_ELEMENTS_FOR_SPILL_THRESHOLD.toInt)\n \n+  val SUPPORT_QUOTED_REGEX_COLUMN_NAME = buildConf(\"spark.sql.parser.quotedRegexColumnNames\")\n+    .doc(\"When true, column names specified by quoted regex pattern will be expanded.\")","path":"sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala","position":null,"original_position":5,"commit_id":"da60368d0c90d12f4ddd33aa0894615618aa01dc","original_commit_id":"a0e3773b67dfd20b0b1c340741ab174969823a6e","user":{"login":"janewangfb","id":26746859,"avatar_url":"https://avatars0.githubusercontent.com/u/26746859?v=3","gravatar_id":"","url":"https://api.github.com/users/janewangfb","html_url":"https://github.com/janewangfb","followers_url":"https://api.github.com/users/janewangfb/followers","following_url":"https://api.github.com/users/janewangfb/following{/other_user}","gists_url":"https://api.github.com/users/janewangfb/gists{/gist_id}","starred_url":"https://api.github.com/users/janewangfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janewangfb/subscriptions","organizations_url":"https://api.github.com/users/janewangfb/orgs","repos_url":"https://api.github.com/users/janewangfb/repos","events_url":"https://api.github.com/users/janewangfb/events{/privacy}","received_events_url":"https://api.github.com/users/janewangfb/received_events","type":"User","site_admin":false},"body":"Updated the description.","created_at":"2017-06-26T19:33:15Z","updated_at":"2017-06-26T19:33:15Z","html_url":"https://github.com/apache/spark/pull/18023#discussion_r124099510","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/18023","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/124099510"},"html":{"href":"https://github.com/apache/spark/pull/18023#discussion_r124099510"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/18023"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/18023","id":121179064,"html_url":"https://github.com/apache/spark/pull/18023","diff_url":"https://github.com/apache/spark/pull/18023.diff","patch_url":"https://github.com/apache/spark/pull/18023.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/18023","number":18023,"state":"open","locked":false,"title":"[SPARK-12139] [SQL] REGEX Column Specification","user":{"login":"janewangfb","id":26746859,"avatar_url":"https://avatars0.githubusercontent.com/u/26746859?v=3","gravatar_id":"","url":"https://api.github.com/users/janewangfb","html_url":"https://github.com/janewangfb","followers_url":"https://api.github.com/users/janewangfb/followers","following_url":"https://api.github.com/users/janewangfb/following{/other_user}","gists_url":"https://api.github.com/users/janewangfb/gists{/gist_id}","starred_url":"https://api.github.com/users/janewangfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janewangfb/subscriptions","organizations_url":"https://api.github.com/users/janewangfb/orgs","repos_url":"https://api.github.com/users/janewangfb/repos","events_url":"https://api.github.com/users/janewangfb/events{/privacy}","received_events_url":"https://api.github.com/users/janewangfb/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\nHive interprets regular expression, e.g., `(a)?+.+` in query specification. This PR enables spark to support this feature when hive.support.quoted.identifiers is set to true.\r\n\r\n## How was this patch tested?\r\n\r\n- Add unittests in SQLQuerySuite.scala\r\n- Run spark-shell tested the original failed query:\r\nscala> hc.sql(\"SELECT `(a|b)?+.+` from test1\").collect.foreach(println) \r\n","created_at":"2017-05-18T00:28:22Z","updated_at":"2017-06-26T19:33:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15f2621c8d105c982703e3be738f5a4cfa6b36f1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/18023/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/18023/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/18023/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/da60368d0c90d12f4ddd33aa0894615618aa01dc","head":{"label":"janewangfb:support_select_regex","ref":"support_select_regex","sha":"da60368d0c90d12f4ddd33aa0894615618aa01dc","user":{"login":"janewangfb","id":26746859,"avatar_url":"https://avatars0.githubusercontent.com/u/26746859?v=3","gravatar_id":"","url":"https://api.github.com/users/janewangfb","html_url":"https://github.com/janewangfb","followers_url":"https://api.github.com/users/janewangfb/followers","following_url":"https://api.github.com/users/janewangfb/following{/other_user}","gists_url":"https://api.github.com/users/janewangfb/gists{/gist_id}","starred_url":"https://api.github.com/users/janewangfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janewangfb/subscriptions","organizations_url":"https://api.github.com/users/janewangfb/orgs","repos_url":"https://api.github.com/users/janewangfb/repos","events_url":"https://api.github.com/users/janewangfb/events{/privacy}","received_events_url":"https://api.github.com/users/janewangfb/received_events","type":"User","site_admin":false},"repo":{"id":89513457,"name":"spark","full_name":"janewangfb/spark","owner":{"login":"janewangfb","id":26746859,"avatar_url":"https://avatars0.githubusercontent.com/u/26746859?v=3","gravatar_id":"","url":"https://api.github.com/users/janewangfb","html_url":"https://github.com/janewangfb","followers_url":"https://api.github.com/users/janewangfb/followers","following_url":"https://api.github.com/users/janewangfb/following{/other_user}","gists_url":"https://api.github.com/users/janewangfb/gists{/gist_id}","starred_url":"https://api.github.com/users/janewangfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janewangfb/subscriptions","organizations_url":"https://api.github.com/users/janewangfb/orgs","repos_url":"https://api.github.com/users/janewangfb/repos","events_url":"https://api.github.com/users/janewangfb/events{/privacy}","received_events_url":"https://api.github.com/users/janewangfb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janewangfb/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/janewangfb/spark","forks_url":"https://api.github.com/repos/janewangfb/spark/forks","keys_url":"https://api.github.com/repos/janewangfb/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janewangfb/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janewangfb/spark/teams","hooks_url":"https://api.github.com/repos/janewangfb/spark/hooks","issue_events_url":"https://api.github.com/repos/janewangfb/spark/issues/events{/number}","events_url":"https://api.github.com/repos/janewangfb/spark/events","assignees_url":"https://api.github.com/repos/janewangfb/spark/assignees{/user}","branches_url":"https://api.github.com/repos/janewangfb/spark/branches{/branch}","tags_url":"https://api.github.com/repos/janewangfb/spark/tags","blobs_url":"https://api.github.com/repos/janewangfb/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janewangfb/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janewangfb/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/janewangfb/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janewangfb/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/janewangfb/spark/languages","stargazers_url":"https://api.github.com/repos/janewangfb/spark/stargazers","contributors_url":"https://api.github.com/repos/janewangfb/spark/contributors","subscribers_url":"https://api.github.com/repos/janewangfb/spark/subscribers","subscription_url":"https://api.github.com/repos/janewangfb/spark/subscription","commits_url":"https://api.github.com/repos/janewangfb/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/janewangfb/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/janewangfb/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/janewangfb/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/janewangfb/spark/contents/{+path}","compare_url":"https://api.github.com/repos/janewangfb/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janewangfb/spark/merges","archive_url":"https://api.github.com/repos/janewangfb/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janewangfb/spark/downloads","issues_url":"https://api.github.com/repos/janewangfb/spark/issues{/number}","pulls_url":"https://api.github.com/repos/janewangfb/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/janewangfb/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/janewangfb/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janewangfb/spark/labels{/name}","releases_url":"https://api.github.com/repos/janewangfb/spark/releases{/id}","deployments_url":"https://api.github.com/repos/janewangfb/spark/deployments","created_at":"2017-04-26T18:24:17Z","updated_at":"2017-04-26T18:24:44Z","pushed_at":"2017-06-26T19:31:20Z","git_url":"git://github.com/janewangfb/spark.git","ssh_url":"git@github.com:janewangfb/spark.git","clone_url":"https://github.com/janewangfb/spark.git","svn_url":"https://github.com/janewangfb/spark","homepage":null,"size":275562,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"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":"c22810004fb2db249be6477c9801d09b807af851","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.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://avatars3.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}","deployments_url":"https://api.github.com/repos/apache/spark/deployments","created_at":"2014-02-25T08:00:08Z","updated_at":"2017-06-26T14:09:06Z","pushed_at":"2017-06-26T19:31:27Z","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":277808,"stargazers_count":13291,"watchers_count":13291,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12540,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":425,"forks":12540,"open_issues":425,"watchers":13291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/18023"},"html":{"href":"https://github.com/apache/spark/pull/18023"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/18023"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/18023/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/18023/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/18023/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/da60368d0c90d12f4ddd33aa0894615618aa01dc"}}}}
{"actor":{"display_login":"janewangfb"}}