{"action":"created","comment":{"url":"https://api.github.com/repos/druid-io/druid/pulls/comments/50598555","id":50598555,"diff_hunk":"@@ -286,6 +287,9 @@ public String getVersion(final Interval interval)\n     );\n     this.queryRunnerFactoryConglomerate = toolbox.getQueryRunnerFactoryConglomerate();\n \n+    IndexMerger indexMerger = spec.getTuningConfig().getBuildV9Directly()","path":"indexing-service/src/main/java/io/druid/indexing/common/task/RealtimeIndexTask.java","position":12,"original_position":12,"commit_id":"82ff98c2bfa46163660a1a418f34db45bbca9f6b","original_commit_id":"82ff98c2bfa46163660a1a418f34db45bbca9f6b","user":{"login":"xvrl","id":815147,"avatar_url":"https://avatars.githubusercontent.com/u/815147?v=3","gravatar_id":"","url":"https://api.github.com/users/xvrl","html_url":"https://github.com/xvrl","followers_url":"https://api.github.com/users/xvrl/followers","following_url":"https://api.github.com/users/xvrl/following{/other_user}","gists_url":"https://api.github.com/users/xvrl/gists{/gist_id}","starred_url":"https://api.github.com/users/xvrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xvrl/subscriptions","organizations_url":"https://api.github.com/users/xvrl/orgs","repos_url":"https://api.github.com/users/xvrl/repos","events_url":"https://api.github.com/users/xvrl/events{/privacy}","received_events_url":"https://api.github.com/users/xvrl/received_events","type":"User","site_admin":false},"body":"instead I think we should make the tuning config use `boolean`","created_at":"2016-01-22T22:15:38Z","updated_at":"2016-01-22T22:15:38Z","html_url":"https://github.com/druid-io/druid/pull/2138#discussion_r50598555","pull_request_url":"https://api.github.com/repos/druid-io/druid/pulls/2138","_links":{"self":{"href":"https://api.github.com/repos/druid-io/druid/pulls/comments/50598555"},"html":{"href":"https://github.com/druid-io/druid/pull/2138#discussion_r50598555"},"pull_request":{"href":"https://api.github.com/repos/druid-io/druid/pulls/2138"}}},"pull_request":{"url":"https://api.github.com/repos/druid-io/druid/pulls/2138","id":54331504,"html_url":"https://github.com/druid-io/druid/pull/2138","diff_url":"https://github.com/druid-io/druid/pull/2138.diff","patch_url":"https://github.com/druid-io/druid/pull/2138.patch","issue_url":"https://api.github.com/repos/druid-io/druid/issues/2138","number":2138,"state":"closed","locked":false,"title":"build v9 directly","user":{"login":"KurtYoung","id":955396,"avatar_url":"https://avatars.githubusercontent.com/u/955396?v=3","gravatar_id":"","url":"https://api.github.com/users/KurtYoung","html_url":"https://github.com/KurtYoung","followers_url":"https://api.github.com/users/KurtYoung/followers","following_url":"https://api.github.com/users/KurtYoung/following{/other_user}","gists_url":"https://api.github.com/users/KurtYoung/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtYoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtYoung/subscriptions","organizations_url":"https://api.github.com/users/KurtYoung/orgs","repos_url":"https://api.github.com/users/KurtYoung/repos","events_url":"https://api.github.com/users/KurtYoung/events{/privacy}","received_events_url":"https://api.github.com/users/KurtYoung/received_events","type":"User","site_admin":false},"body":"This PR tracks the feature of building v9 directly which had been discussed in https://groups.google.com/forum/#!topic/druid-development/0CxhljSGeeo\r\n\r\nWe can divide this PR into 3 main parts:\r\n\r\n1. Changing of ColumnPartSerde's interface. I had change ColumnPartSerde's interface to separate the Serializer and Deserializer. So we can have multiple serializers, one of it has the same behavior with old ones. And another one is the new streaming version. The Deserializer just do the same thing like old ones.\r\n\r\n2. Added IndexedIntsWriter interface and some *Writers which are responsible for writing dimension ids. You can see the hierarchy that i divided the writers to 2 main sub abstract classes: SingleValueIndexedIntsWriter and MultiValueIndexedIntsWriter. \r\nHere are the classed which are doing the real things:\r\nVSizeIndexedIntsWriter (single value, vsize encoded, not compressed)\r\nCompressedIntsIndexedWriter (single value, not vsize encoded, compressed)\r\nCompressedVSizeIntsIndexedWriter (single value, vsize encoded, compressed)\r\nVSizeIndexedWriter (multi value, both offset and values are vsized, not compressed)\r\nCompressedVSizeIndexedV3Writer (multi value, only values are vsized, compressed)\r\nMore details can be found here: https://groups.google.com/forum/#!topic/druid-development/0CxhljSGeeo\r\n\r\n3. GenericColumnSerializer and its sub-classes are for writing metrics. They are almost identical to MetricColumnSerializer you familiar with, except the GenericColumnSerializer can write to a Channel(which is allocated from smoosher when building). The sub-classes are:\r\nLongColumnSerializer (write long metrics)\r\nFloatColumnSerializer (write float metrics)\r\nComplexColumnSerializer (writer complex metrics)\r\n","created_at":"2015-12-22T04:19:13Z","updated_at":"2016-01-22T22:15:38Z","closed_at":"2016-01-16T19:35:46Z","merged_at":"2016-01-16T19:35:46Z","merge_commit_sha":"beb10f176867181897274f12014b40a9b9b43d42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/druid-io/druid/pulls/2138/commits","review_comments_url":"https://api.github.com/repos/druid-io/druid/pulls/2138/comments","review_comment_url":"https://api.github.com/repos/druid-io/druid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/druid-io/druid/issues/2138/comments","statuses_url":"https://api.github.com/repos/druid-io/druid/statuses/82ff98c2bfa46163660a1a418f34db45bbca9f6b","head":{"label":"KurtYoung:feature-build-v9","ref":"feature-build-v9","sha":"82ff98c2bfa46163660a1a418f34db45bbca9f6b","user":{"login":"KurtYoung","id":955396,"avatar_url":"https://avatars.githubusercontent.com/u/955396?v=3","gravatar_id":"","url":"https://api.github.com/users/KurtYoung","html_url":"https://github.com/KurtYoung","followers_url":"https://api.github.com/users/KurtYoung/followers","following_url":"https://api.github.com/users/KurtYoung/following{/other_user}","gists_url":"https://api.github.com/users/KurtYoung/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtYoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtYoung/subscriptions","organizations_url":"https://api.github.com/users/KurtYoung/orgs","repos_url":"https://api.github.com/users/KurtYoung/repos","events_url":"https://api.github.com/users/KurtYoung/events{/privacy}","received_events_url":"https://api.github.com/users/KurtYoung/received_events","type":"User","site_admin":false},"repo":{"id":39983438,"name":"druid","full_name":"KurtYoung/druid","owner":{"login":"KurtYoung","id":955396,"avatar_url":"https://avatars.githubusercontent.com/u/955396?v=3","gravatar_id":"","url":"https://api.github.com/users/KurtYoung","html_url":"https://github.com/KurtYoung","followers_url":"https://api.github.com/users/KurtYoung/followers","following_url":"https://api.github.com/users/KurtYoung/following{/other_user}","gists_url":"https://api.github.com/users/KurtYoung/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtYoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtYoung/subscriptions","organizations_url":"https://api.github.com/users/KurtYoung/orgs","repos_url":"https://api.github.com/users/KurtYoung/repos","events_url":"https://api.github.com/users/KurtYoung/events{/privacy}","received_events_url":"https://api.github.com/users/KurtYoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KurtYoung/druid","description":"Column oriented distributed data store ideal for powering interactive applications","fork":true,"url":"https://api.github.com/repos/KurtYoung/druid","forks_url":"https://api.github.com/repos/KurtYoung/druid/forks","keys_url":"https://api.github.com/repos/KurtYoung/druid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KurtYoung/druid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KurtYoung/druid/teams","hooks_url":"https://api.github.com/repos/KurtYoung/druid/hooks","issue_events_url":"https://api.github.com/repos/KurtYoung/druid/issues/events{/number}","events_url":"https://api.github.com/repos/KurtYoung/druid/events","assignees_url":"https://api.github.com/repos/KurtYoung/druid/assignees{/user}","branches_url":"https://api.github.com/repos/KurtYoung/druid/branches{/branch}","tags_url":"https://api.github.com/repos/KurtYoung/druid/tags","blobs_url":"https://api.github.com/repos/KurtYoung/druid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KurtYoung/druid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KurtYoung/druid/git/refs{/sha}","trees_url":"https://api.github.com/repos/KurtYoung/druid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KurtYoung/druid/statuses/{sha}","languages_url":"https://api.github.com/repos/KurtYoung/druid/languages","stargazers_url":"https://api.github.com/repos/KurtYoung/druid/stargazers","contributors_url":"https://api.github.com/repos/KurtYoung/druid/contributors","subscribers_url":"https://api.github.com/repos/KurtYoung/druid/subscribers","subscription_url":"https://api.github.com/repos/KurtYoung/druid/subscription","commits_url":"https://api.github.com/repos/KurtYoung/druid/commits{/sha}","git_commits_url":"https://api.github.com/repos/KurtYoung/druid/git/commits{/sha}","comments_url":"https://api.github.com/repos/KurtYoung/druid/comments{/number}","issue_comment_url":"https://api.github.com/repos/KurtYoung/druid/issues/comments{/number}","contents_url":"https://api.github.com/repos/KurtYoung/druid/contents/{+path}","compare_url":"https://api.github.com/repos/KurtYoung/druid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KurtYoung/druid/merges","archive_url":"https://api.github.com/repos/KurtYoung/druid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KurtYoung/druid/downloads","issues_url":"https://api.github.com/repos/KurtYoung/druid/issues{/number}","pulls_url":"https://api.github.com/repos/KurtYoung/druid/pulls{/number}","milestones_url":"https://api.github.com/repos/KurtYoung/druid/milestones{/number}","notifications_url":"https://api.github.com/repos/KurtYoung/druid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KurtYoung/druid/labels{/name}","releases_url":"https://api.github.com/repos/KurtYoung/druid/releases{/id}","deployments_url":"https://api.github.com/repos/KurtYoung/druid/deployments","created_at":"2015-07-31T02:53:34Z","updated_at":"2015-07-31T02:53:40Z","pushed_at":"2016-01-16T03:30:29Z","git_url":"git://github.com/KurtYoung/druid.git","ssh_url":"git@github.com:KurtYoung/druid.git","clone_url":"https://github.com/KurtYoung/druid.git","svn_url":"https://github.com/KurtYoung/druid","homepage":"http://druid.io","size":99812,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"druid-io:master","ref":"master","sha":"2e54553a8f3b1a378d0a370f12b76989cbaf0710","user":{"login":"druid-io","id":4203474,"avatar_url":"https://avatars.githubusercontent.com/u/4203474?v=3","gravatar_id":"","url":"https://api.github.com/users/druid-io","html_url":"https://github.com/druid-io","followers_url":"https://api.github.com/users/druid-io/followers","following_url":"https://api.github.com/users/druid-io/following{/other_user}","gists_url":"https://api.github.com/users/druid-io/gists{/gist_id}","starred_url":"https://api.github.com/users/druid-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/druid-io/subscriptions","organizations_url":"https://api.github.com/users/druid-io/orgs","repos_url":"https://api.github.com/users/druid-io/repos","events_url":"https://api.github.com/users/druid-io/events{/privacy}","received_events_url":"https://api.github.com/users/druid-io/received_events","type":"Organization","site_admin":false},"repo":{"id":6358188,"name":"druid","full_name":"druid-io/druid","owner":{"login":"druid-io","id":4203474,"avatar_url":"https://avatars.githubusercontent.com/u/4203474?v=3","gravatar_id":"","url":"https://api.github.com/users/druid-io","html_url":"https://github.com/druid-io","followers_url":"https://api.github.com/users/druid-io/followers","following_url":"https://api.github.com/users/druid-io/following{/other_user}","gists_url":"https://api.github.com/users/druid-io/gists{/gist_id}","starred_url":"https://api.github.com/users/druid-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/druid-io/subscriptions","organizations_url":"https://api.github.com/users/druid-io/orgs","repos_url":"https://api.github.com/users/druid-io/repos","events_url":"https://api.github.com/users/druid-io/events{/privacy}","received_events_url":"https://api.github.com/users/druid-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/druid-io/druid","description":"Column oriented distributed data store ideal for powering interactive applications","fork":false,"url":"https://api.github.com/repos/druid-io/druid","forks_url":"https://api.github.com/repos/druid-io/druid/forks","keys_url":"https://api.github.com/repos/druid-io/druid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/druid-io/druid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/druid-io/druid/teams","hooks_url":"https://api.github.com/repos/druid-io/druid/hooks","issue_events_url":"https://api.github.com/repos/druid-io/druid/issues/events{/number}","events_url":"https://api.github.com/repos/druid-io/druid/events","assignees_url":"https://api.github.com/repos/druid-io/druid/assignees{/user}","branches_url":"https://api.github.com/repos/druid-io/druid/branches{/branch}","tags_url":"https://api.github.com/repos/druid-io/druid/tags","blobs_url":"https://api.github.com/repos/druid-io/druid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/druid-io/druid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/druid-io/druid/git/refs{/sha}","trees_url":"https://api.github.com/repos/druid-io/druid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/druid-io/druid/statuses/{sha}","languages_url":"https://api.github.com/repos/druid-io/druid/languages","stargazers_url":"https://api.github.com/repos/druid-io/druid/stargazers","contributors_url":"https://api.github.com/repos/druid-io/druid/contributors","subscribers_url":"https://api.github.com/repos/druid-io/druid/subscribers","subscription_url":"https://api.github.com/repos/druid-io/druid/subscription","commits_url":"https://api.github.com/repos/druid-io/druid/commits{/sha}","git_commits_url":"https://api.github.com/repos/druid-io/druid/git/commits{/sha}","comments_url":"https://api.github.com/repos/druid-io/druid/comments{/number}","issue_comment_url":"https://api.github.com/repos/druid-io/druid/issues/comments{/number}","contents_url":"https://api.github.com/repos/druid-io/druid/contents/{+path}","compare_url":"https://api.github.com/repos/druid-io/druid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/druid-io/druid/merges","archive_url":"https://api.github.com/repos/druid-io/druid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/druid-io/druid/downloads","issues_url":"https://api.github.com/repos/druid-io/druid/issues{/number}","pulls_url":"https://api.github.com/repos/druid-io/druid/pulls{/number}","milestones_url":"https://api.github.com/repos/druid-io/druid/milestones{/number}","notifications_url":"https://api.github.com/repos/druid-io/druid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/druid-io/druid/labels{/name}","releases_url":"https://api.github.com/repos/druid-io/druid/releases{/id}","deployments_url":"https://api.github.com/repos/druid-io/druid/deployments","created_at":"2012-10-23T19:08:07Z","updated_at":"2016-01-22T10:24:14Z","pushed_at":"2016-01-22T21:57:05Z","git_url":"git://github.com/druid-io/druid.git","ssh_url":"git@github.com:druid-io/druid.git","clone_url":"https://github.com/druid-io/druid.git","svn_url":"https://github.com/druid-io/druid","homepage":"http://druid.io","size":122552,"stargazers_count":2373,"watchers_count":2373,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":556,"mirror_url":null,"open_issues_count":287,"forks":556,"open_issues":287,"watchers":2373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/druid-io/druid/pulls/2138"},"html":{"href":"https://github.com/druid-io/druid/pull/2138"},"issue":{"href":"https://api.github.com/repos/druid-io/druid/issues/2138"},"comments":{"href":"https://api.github.com/repos/druid-io/druid/issues/2138/comments"},"review_comments":{"href":"https://api.github.com/repos/druid-io/druid/pulls/2138/comments"},"review_comment":{"href":"https://api.github.com/repos/druid-io/druid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/druid-io/druid/pulls/2138/commits"},"statuses":{"href":"https://api.github.com/repos/druid-io/druid/statuses/82ff98c2bfa46163660a1a418f34db45bbca9f6b"}}}}