{"action":"created","comment":{"url":"https://api.github.com/repos/apache/hive/pulls/comments/93290469","pull_request_review_id":13787434,"id":93290469,"diff_hunk":"@@ -7164,6 +7166,14 @@ protected Operator genFileSinkPlan(String dest, QB qb, Operator input)\n     return output;\n   }\n \n+  private void commitInsert(Table table, boolean overwrite) {","path":"ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java","position":47,"original_position":47,"commit_id":"0e9b1f6e5eca815be6a9724188275f32e65fd40c","original_commit_id":"0e9b1f6e5eca815be6a9724188275f32e65fd40c","user":{"login":"jcamachor","id":222949,"avatar_url":"https://avatars.githubusercontent.com/u/222949?v=3","gravatar_id":"","url":"https://api.github.com/users/jcamachor","html_url":"https://github.com/jcamachor","followers_url":"https://api.github.com/users/jcamachor/followers","following_url":"https://api.github.com/users/jcamachor/following{/other_user}","gists_url":"https://api.github.com/users/jcamachor/gists{/gist_id}","starred_url":"https://api.github.com/users/jcamachor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcamachor/subscriptions","organizations_url":"https://api.github.com/users/jcamachor/orgs","repos_url":"https://api.github.com/users/jcamachor/repos","events_url":"https://api.github.com/users/jcamachor/events{/privacy}","received_events_url":"https://api.github.com/users/jcamachor/received_events","type":"User","site_admin":false},"body":"Rather change name of method, e.g., to _insert_ or _createInsertDesc_; in the future, the descriptor might be useful beyond commit.","created_at":"2016-12-20T17:55:51Z","updated_at":"2016-12-20T18:02:04Z","html_url":"https://github.com/apache/hive/pull/124#discussion_r93290469","pull_request_url":"https://api.github.com/repos/apache/hive/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/apache/hive/pulls/comments/93290469"},"html":{"href":"https://github.com/apache/hive/pull/124#discussion_r93290469"},"pull_request":{"href":"https://api.github.com/repos/apache/hive/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/apache/hive/pulls/124","id":98376551,"html_url":"https://github.com/apache/hive/pull/124","diff_url":"https://github.com/apache/hive/pull/124.diff","patch_url":"https://github.com/apache/hive/pull/124.patch","issue_url":"https://api.github.com/repos/apache/hive/issues/124","number":124,"state":"open","locked":false,"title":"[HIVE-15439] adding support for insert overwite","user":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"body":"Add support for SQL statement INSERT OVERWRITE TABLE druid_internal_table.\r\nIn order to add this support will need to add new post insert hook to update the druid metadata. Creation of the segment will be the same as CTAS.\r\nhttps://issues.apache.org/jira/browse/HIVE-15439","created_at":"2016-12-16T17:53:58Z","updated_at":"2016-12-20T18:02:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fefa79861d177838a6fefc9912954788a451ef97","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/hive/pulls/124/commits","review_comments_url":"https://api.github.com/repos/apache/hive/pulls/124/comments","review_comment_url":"https://api.github.com/repos/apache/hive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/hive/issues/124/comments","statuses_url":"https://api.github.com/repos/apache/hive/statuses/0e9b1f6e5eca815be6a9724188275f32e65fd40c","head":{"label":"b-slim:HIVE-15439-adding-insert","ref":"HIVE-15439-adding-insert","sha":"0e9b1f6e5eca815be6a9724188275f32e65fd40c","user":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"repo":{"id":71265986,"name":"hive","full_name":"b-slim/hive","owner":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b-slim/hive","description":"Mirror of Apache Hive","fork":true,"url":"https://api.github.com/repos/b-slim/hive","forks_url":"https://api.github.com/repos/b-slim/hive/forks","keys_url":"https://api.github.com/repos/b-slim/hive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b-slim/hive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b-slim/hive/teams","hooks_url":"https://api.github.com/repos/b-slim/hive/hooks","issue_events_url":"https://api.github.com/repos/b-slim/hive/issues/events{/number}","events_url":"https://api.github.com/repos/b-slim/hive/events","assignees_url":"https://api.github.com/repos/b-slim/hive/assignees{/user}","branches_url":"https://api.github.com/repos/b-slim/hive/branches{/branch}","tags_url":"https://api.github.com/repos/b-slim/hive/tags","blobs_url":"https://api.github.com/repos/b-slim/hive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b-slim/hive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b-slim/hive/git/refs{/sha}","trees_url":"https://api.github.com/repos/b-slim/hive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b-slim/hive/statuses/{sha}","languages_url":"https://api.github.com/repos/b-slim/hive/languages","stargazers_url":"https://api.github.com/repos/b-slim/hive/stargazers","contributors_url":"https://api.github.com/repos/b-slim/hive/contributors","subscribers_url":"https://api.github.com/repos/b-slim/hive/subscribers","subscription_url":"https://api.github.com/repos/b-slim/hive/subscription","commits_url":"https://api.github.com/repos/b-slim/hive/commits{/sha}","git_commits_url":"https://api.github.com/repos/b-slim/hive/git/commits{/sha}","comments_url":"https://api.github.com/repos/b-slim/hive/comments{/number}","issue_comment_url":"https://api.github.com/repos/b-slim/hive/issues/comments{/number}","contents_url":"https://api.github.com/repos/b-slim/hive/contents/{+path}","compare_url":"https://api.github.com/repos/b-slim/hive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b-slim/hive/merges","archive_url":"https://api.github.com/repos/b-slim/hive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b-slim/hive/downloads","issues_url":"https://api.github.com/repos/b-slim/hive/issues{/number}","pulls_url":"https://api.github.com/repos/b-slim/hive/pulls{/number}","milestones_url":"https://api.github.com/repos/b-slim/hive/milestones{/number}","notifications_url":"https://api.github.com/repos/b-slim/hive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b-slim/hive/labels{/name}","releases_url":"https://api.github.com/repos/b-slim/hive/releases{/id}","deployments_url":"https://api.github.com/repos/b-slim/hive/deployments","created_at":"2016-10-18T16:01:15Z","updated_at":"2016-10-18T16:02:29Z","pushed_at":"2016-12-16T17:52:07Z","git_url":"git://github.com/b-slim/hive.git","ssh_url":"git@github.com:b-slim/hive.git","clone_url":"https://github.com/b-slim/hive.git","svn_url":"https://github.com/b-slim/hive","homepage":null,"size":314615,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"2ae78f01be77e636c44e87965f6c34b942967ea0","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":206444,"name":"hive","full_name":"apache/hive","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/hive","description":"Mirror of Apache Hive","fork":false,"url":"https://api.github.com/repos/apache/hive","forks_url":"https://api.github.com/repos/apache/hive/forks","keys_url":"https://api.github.com/repos/apache/hive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/hive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/hive/teams","hooks_url":"https://api.github.com/repos/apache/hive/hooks","issue_events_url":"https://api.github.com/repos/apache/hive/issues/events{/number}","events_url":"https://api.github.com/repos/apache/hive/events","assignees_url":"https://api.github.com/repos/apache/hive/assignees{/user}","branches_url":"https://api.github.com/repos/apache/hive/branches{/branch}","tags_url":"https://api.github.com/repos/apache/hive/tags","blobs_url":"https://api.github.com/repos/apache/hive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/hive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/hive/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/hive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/hive/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/hive/languages","stargazers_url":"https://api.github.com/repos/apache/hive/stargazers","contributors_url":"https://api.github.com/repos/apache/hive/contributors","subscribers_url":"https://api.github.com/repos/apache/hive/subscribers","subscription_url":"https://api.github.com/repos/apache/hive/subscription","commits_url":"https://api.github.com/repos/apache/hive/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/hive/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/hive/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/hive/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/hive/contents/{+path}","compare_url":"https://api.github.com/repos/apache/hive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/hive/merges","archive_url":"https://api.github.com/repos/apache/hive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/hive/downloads","issues_url":"https://api.github.com/repos/apache/hive/issues{/number}","pulls_url":"https://api.github.com/repos/apache/hive/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/hive/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/hive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/hive/labels{/name}","releases_url":"https://api.github.com/repos/apache/hive/releases{/id}","deployments_url":"https://api.github.com/repos/apache/hive/deployments","created_at":"2009-05-21T02:31:01Z","updated_at":"2016-12-20T02:40:51Z","pushed_at":"2016-12-20T17:08:45Z","git_url":"git://github.com/apache/hive.git","ssh_url":"git@github.com:apache/hive.git","clone_url":"https://github.com/apache/hive.git","svn_url":"https://github.com/apache/hive","homepage":null,"size":316504,"stargazers_count":1148,"watchers_count":1148,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1337,"mirror_url":"git://git.apache.org/hive.git","open_issues_count":76,"forks":1337,"open_issues":76,"watchers":1148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/hive/pulls/124"},"html":{"href":"https://github.com/apache/hive/pull/124"},"issue":{"href":"https://api.github.com/repos/apache/hive/issues/124"},"comments":{"href":"https://api.github.com/repos/apache/hive/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/hive/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/hive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/hive/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/apache/hive/statuses/0e9b1f6e5eca815be6a9724188275f32e65fd40c"}}}}
{"actor":{"display_login":"jcamachor"}}