{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222","id":88574242,"html_url":"https://github.com/apache/incubator-carbondata/pull/222","diff_url":"https://github.com/apache/incubator-carbondata/pull/222.diff","patch_url":"https://github.com/apache/incubator-carbondata/pull/222.patch","issue_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/222","number":222,"state":"open","locked":false,"title":"[CARBONDATA-221] Fix the bug of inverted index that store inverted index in metadata.","user":{"login":"Zhangshunyu","id":13940237,"avatar_url":"https://avatars.githubusercontent.com/u/13940237?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhangshunyu","html_url":"https://github.com/Zhangshunyu","followers_url":"https://api.github.com/users/Zhangshunyu/followers","following_url":"https://api.github.com/users/Zhangshunyu/following{/other_user}","gists_url":"https://api.github.com/users/Zhangshunyu/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhangshunyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhangshunyu/subscriptions","organizations_url":"https://api.github.com/users/Zhangshunyu/orgs","repos_url":"https://api.github.com/users/Zhangshunyu/repos","events_url":"https://api.github.com/users/Zhangshunyu/events{/privacy}","received_events_url":"https://api.github.com/users/Zhangshunyu/received_events","type":"User","site_admin":false},"body":"## Why raise this pr?\r\n1. Problem: In current code, inverted index in ddl info is not stored into store, and when we restart the cluster, query might mismatch.\r\n2. To fix problem 1, current code set always true to use inverted index, and we can not configure inverted index now, this is not reasonable. We should fix this problem from its root cause.\r\n\r\n## How to solve?\r\nUsing the Encoding as the indentifier to check whether using inverted index, this Encoding is in thrift format now, so we no need to modify the thrift format.\r\n\r\n## How to test?\r\nPass all the test cases.","created_at":"2016-10-09T08:58:15Z","updated_at":"2016-10-09T08:58:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/222/comments","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/e8b338c2a7a9e3e28a591bdfe57a5f704f1496d6","head":{"label":"Zhangshunyu:fix_index","ref":"fix_index","sha":"e8b338c2a7a9e3e28a591bdfe57a5f704f1496d6","user":{"login":"Zhangshunyu","id":13940237,"avatar_url":"https://avatars.githubusercontent.com/u/13940237?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhangshunyu","html_url":"https://github.com/Zhangshunyu","followers_url":"https://api.github.com/users/Zhangshunyu/followers","following_url":"https://api.github.com/users/Zhangshunyu/following{/other_user}","gists_url":"https://api.github.com/users/Zhangshunyu/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhangshunyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhangshunyu/subscriptions","organizations_url":"https://api.github.com/users/Zhangshunyu/orgs","repos_url":"https://api.github.com/users/Zhangshunyu/repos","events_url":"https://api.github.com/users/Zhangshunyu/events{/privacy}","received_events_url":"https://api.github.com/users/Zhangshunyu/received_events","type":"User","site_admin":false},"repo":{"id":62268527,"name":"incubator-carbondata","full_name":"Zhangshunyu/incubator-carbondata","owner":{"login":"Zhangshunyu","id":13940237,"avatar_url":"https://avatars.githubusercontent.com/u/13940237?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhangshunyu","html_url":"https://github.com/Zhangshunyu","followers_url":"https://api.github.com/users/Zhangshunyu/followers","following_url":"https://api.github.com/users/Zhangshunyu/following{/other_user}","gists_url":"https://api.github.com/users/Zhangshunyu/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhangshunyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhangshunyu/subscriptions","organizations_url":"https://api.github.com/users/Zhangshunyu/orgs","repos_url":"https://api.github.com/users/Zhangshunyu/repos","events_url":"https://api.github.com/users/Zhangshunyu/events{/privacy}","received_events_url":"https://api.github.com/users/Zhangshunyu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zhangshunyu/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":true,"url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata","forks_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/Zhangshunyu/incubator-carbondata/deployments","created_at":"2016-06-30T01:11:53Z","updated_at":"2016-06-30T01:11:58Z","pushed_at":"2016-10-09T08:52:32Z","git_url":"git://github.com/Zhangshunyu/incubator-carbondata.git","ssh_url":"git@github.com:Zhangshunyu/incubator-carbondata.git","clone_url":"https://github.com/Zhangshunyu/incubator-carbondata.git","svn_url":"https://github.com/Zhangshunyu/incubator-carbondata","homepage":null,"size":37857,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"958dfde64ec43c0d1286062d2c04579940d54d57","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":62117818,"name":"incubator-carbondata","full_name":"apache/incubator-carbondata","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/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-carbondata","forks_url":"https://api.github.com/repos/apache/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/apache/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/apache/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/apache/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/apache/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/apache/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/apache/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-carbondata/deployments","created_at":"2016-06-28T07:00:06Z","updated_at":"2016-10-08T02:58:21Z","pushed_at":"2016-10-09T08:58:15Z","git_url":"git://github.com/apache/incubator-carbondata.git","ssh_url":"git@github.com:apache/incubator-carbondata.git","clone_url":"https://github.com/apache/incubator-carbondata.git","svn_url":"https://github.com/apache/incubator-carbondata","homepage":null,"size":39651,"stargazers_count":123,"watchers_count":123,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":117,"mirror_url":"git://git.apache.org/incubator-carbondata.git","open_issues_count":30,"forks":117,"open_issues":30,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222"},"html":{"href":"https://github.com/apache/incubator-carbondata/pull/222"},"issue":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/222"},"comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-carbondata/statuses/e8b338c2a7a9e3e28a591bdfe57a5f704f1496d6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":21,"deletions":11,"changed_files":5}}
{"actor":{"display_login":"Zhangshunyu"}}