{"action":"created","comment":{"url":"https://api.github.com/repos/apache/carbondata/pulls/comments/152480127","pull_request_review_id":78347280,"id":152480127,"diff_hunk":"@@ -461,25 +461,46 @@ This tutorial is going to introduce all commands and data operations on CarbonDa\n \n ## COMPACTION\n \n-This command merges the specified number of segments into one segment, compaction help to improve query performance.\n-```\n+  Compaction help to improve query performance, because frequently load data, will generate several CarbonData files, because data is sorted only within each load(per load per segment and one B+ tree index).\n+  This means that there will be one index for each load and as number of data load increases, the number of indices also increases. \n+  Compaction feature combines several segments into one large segment by merge sorting the data from across the segments.\n+  \n+  There are two types of compaction Minor and Major compaction.","path":"docs/data-management-on-carbondata.md","position":468,"original_position":25,"commit_id":"7bb01aab4e1bda761e6b22dacb156dc1039eb044","original_commit_id":"7bb01aab4e1bda761e6b22dacb156dc1039eb044","user":{"login":"sgururajshetty","id":9838504,"avatar_url":"https://avatars1.githubusercontent.com/u/9838504?v=4","gravatar_id":"","url":"https://api.github.com/users/sgururajshetty","html_url":"https://github.com/sgururajshetty","followers_url":"https://api.github.com/users/sgururajshetty/followers","following_url":"https://api.github.com/users/sgururajshetty/following{/other_user}","gists_url":"https://api.github.com/users/sgururajshetty/gists{/gist_id}","starred_url":"https://api.github.com/users/sgururajshetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgururajshetty/subscriptions","organizations_url":"https://api.github.com/users/sgururajshetty/orgs","repos_url":"https://api.github.com/users/sgururajshetty/repos","events_url":"https://api.github.com/users/sgururajshetty/events{/privacy}","received_events_url":"https://api.github.com/users/sgururajshetty/received_events","type":"User","site_admin":false},"body":"There are two types of copaction, Minor and Major compaction.","created_at":"2017-11-22T06:44:17Z","updated_at":"2017-11-22T06:49:28Z","html_url":"https://github.com/apache/carbondata/pull/1534#discussion_r152480127","pull_request_url":"https://api.github.com/repos/apache/carbondata/pulls/1534","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/carbondata/pulls/comments/152480127"},"html":{"href":"https://github.com/apache/carbondata/pull/1534#discussion_r152480127"},"pull_request":{"href":"https://api.github.com/repos/apache/carbondata/pulls/1534"}}},"pull_request":{"url":"https://api.github.com/repos/apache/carbondata/pulls/1534","id":153495655,"html_url":"https://github.com/apache/carbondata/pull/1534","diff_url":"https://github.com/apache/carbondata/pull/1534.diff","patch_url":"https://github.com/apache/carbondata/pull/1534.patch","issue_url":"https://api.github.com/repos/apache/carbondata/issues/1534","number":1534,"state":"open","locked":false,"title":"[CARBONDATA-1770] Update error docs and consolidate DDL,DML,Partition docs","user":{"login":"chenliang613","id":8075709,"avatar_url":"https://avatars0.githubusercontent.com/u/8075709?v=4","gravatar_id":"","url":"https://api.github.com/users/chenliang613","html_url":"https://github.com/chenliang613","followers_url":"https://api.github.com/users/chenliang613/followers","following_url":"https://api.github.com/users/chenliang613/following{/other_user}","gists_url":"https://api.github.com/users/chenliang613/gists{/gist_id}","starred_url":"https://api.github.com/users/chenliang613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenliang613/subscriptions","organizations_url":"https://api.github.com/users/chenliang613/orgs","repos_url":"https://api.github.com/users/chenliang613/repos","events_url":"https://api.github.com/users/chenliang613/events{/privacy}","received_events_url":"https://api.github.com/users/chenliang613/received_events","type":"User","site_admin":false},"body":"1. Update documents : there are some error description.\r\n2. Consolidate Data management, DDL,DML,Partition docs, to ensure one feature which only be described in one place.\r\n\r\nBe sure to do all of the following checklist to help us incorporate \r\nyour contribution quickly and easily:\r\n\r\n - [X] Any interfaces changed?\r\n NA\r\n - [X] Any backward compatibility impacted?\r\n NA\r\n - [X] Document update required?\r\nYES\r\n - [X] Testing done\r\nNA\r\n - [X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. \r\nYES\r\n\r\n","created_at":"2017-11-19T13:15:13Z","updated_at":"2017-11-22T06:49:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ea6ac21c16582837b2bf4cd21ed28294b726f8c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/carbondata/pulls/1534/commits","review_comments_url":"https://api.github.com/repos/apache/carbondata/pulls/1534/comments","review_comment_url":"https://api.github.com/repos/apache/carbondata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/carbondata/issues/1534/comments","statuses_url":"https://api.github.com/repos/apache/carbondata/statuses/7bb01aab4e1bda761e6b22dacb156dc1039eb044","head":{"label":"chenliang613:update_docs","ref":"update_docs","sha":"7bb01aab4e1bda761e6b22dacb156dc1039eb044","user":{"login":"chenliang613","id":8075709,"avatar_url":"https://avatars0.githubusercontent.com/u/8075709?v=4","gravatar_id":"","url":"https://api.github.com/users/chenliang613","html_url":"https://github.com/chenliang613","followers_url":"https://api.github.com/users/chenliang613/followers","following_url":"https://api.github.com/users/chenliang613/following{/other_user}","gists_url":"https://api.github.com/users/chenliang613/gists{/gist_id}","starred_url":"https://api.github.com/users/chenliang613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenliang613/subscriptions","organizations_url":"https://api.github.com/users/chenliang613/orgs","repos_url":"https://api.github.com/users/chenliang613/repos","events_url":"https://api.github.com/users/chenliang613/events{/privacy}","received_events_url":"https://api.github.com/users/chenliang613/received_events","type":"User","site_admin":false},"repo":{"id":90689603,"name":"carbondata","full_name":"chenliang613/carbondata","owner":{"login":"chenliang613","id":8075709,"avatar_url":"https://avatars0.githubusercontent.com/u/8075709?v=4","gravatar_id":"","url":"https://api.github.com/users/chenliang613","html_url":"https://github.com/chenliang613","followers_url":"https://api.github.com/users/chenliang613/followers","following_url":"https://api.github.com/users/chenliang613/following{/other_user}","gists_url":"https://api.github.com/users/chenliang613/gists{/gist_id}","starred_url":"https://api.github.com/users/chenliang613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenliang613/subscriptions","organizations_url":"https://api.github.com/users/chenliang613/orgs","repos_url":"https://api.github.com/users/chenliang613/repos","events_url":"https://api.github.com/users/chenliang613/events{/privacy}","received_events_url":"https://api.github.com/users/chenliang613/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chenliang613/carbondata","description":"Mirror of Apache CarbonData","fork":true,"url":"https://api.github.com/repos/chenliang613/carbondata","forks_url":"https://api.github.com/repos/chenliang613/carbondata/forks","keys_url":"https://api.github.com/repos/chenliang613/carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chenliang613/carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chenliang613/carbondata/teams","hooks_url":"https://api.github.com/repos/chenliang613/carbondata/hooks","issue_events_url":"https://api.github.com/repos/chenliang613/carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/chenliang613/carbondata/events","assignees_url":"https://api.github.com/repos/chenliang613/carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/chenliang613/carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/chenliang613/carbondata/tags","blobs_url":"https://api.github.com/repos/chenliang613/carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chenliang613/carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chenliang613/carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/chenliang613/carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chenliang613/carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/chenliang613/carbondata/languages","stargazers_url":"https://api.github.com/repos/chenliang613/carbondata/stargazers","contributors_url":"https://api.github.com/repos/chenliang613/carbondata/contributors","subscribers_url":"https://api.github.com/repos/chenliang613/carbondata/subscribers","subscription_url":"https://api.github.com/repos/chenliang613/carbondata/subscription","commits_url":"https://api.github.com/repos/chenliang613/carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/chenliang613/carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/chenliang613/carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/chenliang613/carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/chenliang613/carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/chenliang613/carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chenliang613/carbondata/merges","archive_url":"https://api.github.com/repos/chenliang613/carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chenliang613/carbondata/downloads","issues_url":"https://api.github.com/repos/chenliang613/carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/chenliang613/carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/chenliang613/carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/chenliang613/carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chenliang613/carbondata/labels{/name}","releases_url":"https://api.github.com/repos/chenliang613/carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/chenliang613/carbondata/deployments","created_at":"2017-05-09T01:41:38Z","updated_at":"2017-05-09T01:41:43Z","pushed_at":"2017-11-22T06:14:43Z","git_url":"git://github.com/chenliang613/carbondata.git","ssh_url":"git@github.com:chenliang613/carbondata.git","clone_url":"https://github.com/chenliang613/carbondata.git","svn_url":"https://github.com/chenliang613/carbondata","homepage":"","size":50687,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"198e5b689b721bb959c779e35609d463e9f171e5","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":62117818,"name":"carbondata","full_name":"apache/carbondata","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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/carbondata","description":"Mirror of Apache CarbonData","fork":false,"url":"https://api.github.com/repos/apache/carbondata","forks_url":"https://api.github.com/repos/apache/carbondata/forks","keys_url":"https://api.github.com/repos/apache/carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/carbondata/teams","hooks_url":"https://api.github.com/repos/apache/carbondata/hooks","issue_events_url":"https://api.github.com/repos/apache/carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/apache/carbondata/events","assignees_url":"https://api.github.com/repos/apache/carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/apache/carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/apache/carbondata/tags","blobs_url":"https://api.github.com/repos/apache/carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/carbondata/languages","stargazers_url":"https://api.github.com/repos/apache/carbondata/stargazers","contributors_url":"https://api.github.com/repos/apache/carbondata/contributors","subscribers_url":"https://api.github.com/repos/apache/carbondata/subscribers","subscription_url":"https://api.github.com/repos/apache/carbondata/subscription","commits_url":"https://api.github.com/repos/apache/carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/apache/carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/carbondata/merges","archive_url":"https://api.github.com/repos/apache/carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/carbondata/downloads","issues_url":"https://api.github.com/repos/apache/carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/apache/carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/carbondata/labels{/name}","releases_url":"https://api.github.com/repos/apache/carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/apache/carbondata/deployments","created_at":"2016-06-28T07:00:06Z","updated_at":"2017-11-20T01:49:20Z","pushed_at":"2017-11-22T06:45:50Z","git_url":"git://github.com/apache/carbondata.git","ssh_url":"git@github.com:apache/carbondata.git","clone_url":"https://github.com/apache/carbondata.git","svn_url":"https://github.com/apache/carbondata","homepage":"","size":50902,"stargazers_count":523,"watchers_count":523,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":355,"mirror_url":"git://git.apache.org/carbondata.git","archived":false,"open_issues_count":107,"forks":355,"open_issues":107,"watchers":523,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/carbondata/pulls/1534"},"html":{"href":"https://github.com/apache/carbondata/pull/1534"},"issue":{"href":"https://api.github.com/repos/apache/carbondata/issues/1534"},"comments":{"href":"https://api.github.com/repos/apache/carbondata/issues/1534/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/carbondata/pulls/1534/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/carbondata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/carbondata/pulls/1534/commits"},"statuses":{"href":"https://api.github.com/repos/apache/carbondata/statuses/7bb01aab4e1bda761e6b22dacb156dc1039eb044"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sgururajshetty"}}