{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/93811860","pull_request_review_id":14348533,"id":93811860,"diff_hunk":"@@ -0,0 +1,117 @@\n+-- A test suite for GROUP BY in parent side, subquery, and both predicate subquery\n+-- It includes correlated cases.\n+\n+-- tables and data types\n+\n+CREATE DATABASE indb;","path":"sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/in-group-by.sql","position":6,"original_position":6,"commit_id":"1c1900a261b12e95a8a53892017294df3c21b317","original_commit_id":"1c1900a261b12e95a8a53892017294df3c21b317","user":{"login":"gatorsmile","id":11567269,"avatar_url":"https://avatars.githubusercontent.com/u/11567269?v=3","gravatar_id":"","url":"https://api.github.com/users/gatorsmile","html_url":"https://github.com/gatorsmile","followers_url":"https://api.github.com/users/gatorsmile/followers","following_url":"https://api.github.com/users/gatorsmile/following{/other_user}","gists_url":"https://api.github.com/users/gatorsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gatorsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatorsmile/subscriptions","organizations_url":"https://api.github.com/users/gatorsmile/orgs","repos_url":"https://api.github.com/users/gatorsmile/repos","events_url":"https://api.github.com/users/gatorsmile/events{/privacy}","received_events_url":"https://api.github.com/users/gatorsmile/received_events","type":"User","site_admin":false},"body":"You created a database, but you did not use it. \r\n\r\nMaybe you do not need it.","created_at":"2016-12-24T03:00:19Z","updated_at":"2016-12-24T03:00:19Z","html_url":"https://github.com/apache/spark/pull/16337#discussion_r93811860","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/16337","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/93811860"},"html":{"href":"https://github.com/apache/spark/pull/16337#discussion_r93811860"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/16337"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16337","id":98515815,"html_url":"https://github.com/apache/spark/pull/16337","diff_url":"https://github.com/apache/spark/pull/16337.diff","patch_url":"https://github.com/apache/spark/pull/16337.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/16337","number":16337,"state":"open","locked":false,"title":"[SPARK-18871][SQL] New test cases for IN/NOT IN subquery","user":{"login":"kevinyu98","id":7550280,"avatar_url":"https://avatars.githubusercontent.com/u/7550280?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinyu98","html_url":"https://github.com/kevinyu98","followers_url":"https://api.github.com/users/kevinyu98/followers","following_url":"https://api.github.com/users/kevinyu98/following{/other_user}","gists_url":"https://api.github.com/users/kevinyu98/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinyu98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinyu98/subscriptions","organizations_url":"https://api.github.com/users/kevinyu98/orgs","repos_url":"https://api.github.com/users/kevinyu98/repos","events_url":"https://api.github.com/users/kevinyu98/events{/privacy}","received_events_url":"https://api.github.com/users/kevinyu98/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\nThis PR extends the existing IN/NOT IN subquery test cases coverage, adds more test cases to the IN subquery test suite. \r\n\r\nBased on the discussion, we will create  `subquery/in-subquery` sub structure under `sql/core/src/test/resources/sql-tests/inputs` directory. \r\n\r\nThis is the high level grouping for IN subquery:\r\n\r\n`subquery/in-subquery/`\r\n`subquery/in-subquery/simple-in.sql`\r\n`subquery/in-subquery/in-group-by.sql (in parent side, subquery, and both)`\r\n`subquery/in-subquery/not-in-group-by.sql`\r\n`subquery/in-subquery/in-order-by.sql`\r\n`subquery/in-subquery/in-limit.sql`\r\n`subquery/in-subquery/in-having.sql`\r\n`subquery/in-subquery/in-joins.sql`\r\n`subquery/in-subquery/not-in-joins.sql`\r\n`subquery/in-subquery/in-set-operations.sql`\r\n`subquery/in-subquery/in-with-cte.sql`\r\n`subquery/in-subquery/not-in-with-cte.sql`\r\nsubquery/in-subquery/in-multiple-columns.sql`\r\n\r\nWe will deliver it through multiple prs, this is the first pr for the IN subquery, it has\r\n\r\n`subquery/in-subquery/simple-in.sql`\r\n`subquery/in-subquery/in-group-by.sql (in parent side, subquery, and both)`\r\n\r\nWe will also provide the result from another DB.\r\n\r\n## How was this patch tested?\r\n\r\nThis patch is adding tests.\r\n\r\n","created_at":"2016-12-19T07:00:01Z","updated_at":"2016-12-24T03:00:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38f0a0409b41d001886f0771996c99ed188121ad","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/16337/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/16337/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/16337/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/1c1900a261b12e95a8a53892017294df3c21b317","head":{"label":"kevinyu98:spark-18871","ref":"spark-18871","sha":"1c1900a261b12e95a8a53892017294df3c21b317","user":{"login":"kevinyu98","id":7550280,"avatar_url":"https://avatars.githubusercontent.com/u/7550280?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinyu98","html_url":"https://github.com/kevinyu98","followers_url":"https://api.github.com/users/kevinyu98/followers","following_url":"https://api.github.com/users/kevinyu98/following{/other_user}","gists_url":"https://api.github.com/users/kevinyu98/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinyu98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinyu98/subscriptions","organizations_url":"https://api.github.com/users/kevinyu98/orgs","repos_url":"https://api.github.com/users/kevinyu98/repos","events_url":"https://api.github.com/users/kevinyu98/events{/privacy}","received_events_url":"https://api.github.com/users/kevinyu98/received_events","type":"User","site_admin":false},"repo":{"id":38393679,"name":"spark","full_name":"kevinyu98/spark","owner":{"login":"kevinyu98","id":7550280,"avatar_url":"https://avatars.githubusercontent.com/u/7550280?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinyu98","html_url":"https://github.com/kevinyu98","followers_url":"https://api.github.com/users/kevinyu98/followers","following_url":"https://api.github.com/users/kevinyu98/following{/other_user}","gists_url":"https://api.github.com/users/kevinyu98/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinyu98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinyu98/subscriptions","organizations_url":"https://api.github.com/users/kevinyu98/orgs","repos_url":"https://api.github.com/users/kevinyu98/repos","events_url":"https://api.github.com/users/kevinyu98/events{/privacy}","received_events_url":"https://api.github.com/users/kevinyu98/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinyu98/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/kevinyu98/spark","forks_url":"https://api.github.com/repos/kevinyu98/spark/forks","keys_url":"https://api.github.com/repos/kevinyu98/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinyu98/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinyu98/spark/teams","hooks_url":"https://api.github.com/repos/kevinyu98/spark/hooks","issue_events_url":"https://api.github.com/repos/kevinyu98/spark/issues/events{/number}","events_url":"https://api.github.com/repos/kevinyu98/spark/events","assignees_url":"https://api.github.com/repos/kevinyu98/spark/assignees{/user}","branches_url":"https://api.github.com/repos/kevinyu98/spark/branches{/branch}","tags_url":"https://api.github.com/repos/kevinyu98/spark/tags","blobs_url":"https://api.github.com/repos/kevinyu98/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinyu98/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinyu98/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinyu98/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinyu98/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinyu98/spark/languages","stargazers_url":"https://api.github.com/repos/kevinyu98/spark/stargazers","contributors_url":"https://api.github.com/repos/kevinyu98/spark/contributors","subscribers_url":"https://api.github.com/repos/kevinyu98/spark/subscribers","subscription_url":"https://api.github.com/repos/kevinyu98/spark/subscription","commits_url":"https://api.github.com/repos/kevinyu98/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinyu98/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinyu98/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinyu98/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinyu98/spark/contents/{+path}","compare_url":"https://api.github.com/repos/kevinyu98/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinyu98/spark/merges","archive_url":"https://api.github.com/repos/kevinyu98/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinyu98/spark/downloads","issues_url":"https://api.github.com/repos/kevinyu98/spark/issues{/number}","pulls_url":"https://api.github.com/repos/kevinyu98/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinyu98/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinyu98/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinyu98/spark/labels{/name}","releases_url":"https://api.github.com/repos/kevinyu98/spark/releases{/id}","deployments_url":"https://api.github.com/repos/kevinyu98/spark/deployments","created_at":"2015-07-01T20:33:56Z","updated_at":"2016-02-19T21:55:17Z","pushed_at":"2016-12-22T23:12:44Z","git_url":"git://github.com/kevinyu98/spark.git","ssh_url":"git@github.com:kevinyu98/spark.git","clone_url":"https://github.com/kevinyu98/spark.git","svn_url":"https://github.com/kevinyu98/spark","homepage":null,"size":245251,"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":"1e5c51f336b90cd1eed43e9c6cf00faee696174c","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}","deployments_url":"https://api.github.com/repos/apache/spark/deployments","created_at":"2014-02-25T08:00:08Z","updated_at":"2016-12-23T14:47:38Z","pushed_at":"2016-12-24T02:48: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":259043,"stargazers_count":11180,"watchers_count":11180,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10492,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":444,"forks":10492,"open_issues":444,"watchers":11180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/16337"},"html":{"href":"https://github.com/apache/spark/pull/16337"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/16337"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/16337/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/16337/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/16337/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/1c1900a261b12e95a8a53892017294df3c21b317"}}}}
{"actor":{"display_login":"gatorsmile"}}