{"action":"created","comment":{"url":"https://api.github.com/repos/aheyman/h2database/pulls/comments/126266576","pull_request_review_id":48740971,"id":126266576,"diff_hunk":"@@ -255,6 +257,11 @@ void optimize(boolean parse) {\n         for (TableFilter f : f2) {\n             PlanItem item = bestPlan.getItem(f);\n             f.setPlanItem(item);\n+\n+            if (item.getIndex().getName() != null){\n+                System.out.println(item.getIndex().getName());","path":"h2/src/main/org/h2/command/dml/Optimizer.java","position":20,"original_position":20,"commit_id":"93b6198b8db3dbc27b129c43ffe13ea8fefd58d7","original_commit_id":"93b6198b8db3dbc27b129c43ffe13ea8fefd58d7","user":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"body":"This was just logging to see which index was selected by the optimzier","created_at":"2017-07-07T23:55:35Z","updated_at":"2017-07-07T23:55:35Z","html_url":"https://github.com/aheyman/h2database/pull/1#discussion_r126266576","pull_request_url":"https://api.github.com/repos/aheyman/h2database/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/comments/126266576"},"html":{"href":"https://github.com/aheyman/h2database/pull/1#discussion_r126266576"},"pull_request":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/aheyman/h2database/pulls/1","id":129506991,"html_url":"https://github.com/aheyman/h2database/pull/1","diff_url":"https://github.com/aheyman/h2database/pull/1.diff","patch_url":"https://github.com/aheyman/h2database/pull/1.patch","issue_url":"https://api.github.com/repos/aheyman/h2database/issues/1","number":1,"state":"open","locked":false,"title":"Unified Commit","user":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"body":"Oh God - I initially opened a pull request with the h2/master branch, not ours.  I pray they do not see the atrocity we created.","created_at":"2017-07-07T23:53:15Z","updated_at":"2017-07-07T23:55:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caadbf297e4d2d68b1be352c6f841d2d34b2936f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/aheyman/h2database/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aheyman/h2database/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aheyman/h2database/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aheyman/h2database/issues/1/comments","statuses_url":"https://api.github.com/repos/aheyman/h2database/statuses/93b6198b8db3dbc27b129c43ffe13ea8fefd58d7","head":{"label":"aheyman:final","ref":"final","sha":"93b6198b8db3dbc27b129c43ffe13ea8fefd58d7","user":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"repo":{"id":95272100,"name":"h2database","full_name":"aheyman/h2database","owner":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aheyman/h2database","description":"H2 is an embeddable RDBMS written in Java.","fork":true,"url":"https://api.github.com/repos/aheyman/h2database","forks_url":"https://api.github.com/repos/aheyman/h2database/forks","keys_url":"https://api.github.com/repos/aheyman/h2database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aheyman/h2database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aheyman/h2database/teams","hooks_url":"https://api.github.com/repos/aheyman/h2database/hooks","issue_events_url":"https://api.github.com/repos/aheyman/h2database/issues/events{/number}","events_url":"https://api.github.com/repos/aheyman/h2database/events","assignees_url":"https://api.github.com/repos/aheyman/h2database/assignees{/user}","branches_url":"https://api.github.com/repos/aheyman/h2database/branches{/branch}","tags_url":"https://api.github.com/repos/aheyman/h2database/tags","blobs_url":"https://api.github.com/repos/aheyman/h2database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aheyman/h2database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aheyman/h2database/git/refs{/sha}","trees_url":"https://api.github.com/repos/aheyman/h2database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aheyman/h2database/statuses/{sha}","languages_url":"https://api.github.com/repos/aheyman/h2database/languages","stargazers_url":"https://api.github.com/repos/aheyman/h2database/stargazers","contributors_url":"https://api.github.com/repos/aheyman/h2database/contributors","subscribers_url":"https://api.github.com/repos/aheyman/h2database/subscribers","subscription_url":"https://api.github.com/repos/aheyman/h2database/subscription","commits_url":"https://api.github.com/repos/aheyman/h2database/commits{/sha}","git_commits_url":"https://api.github.com/repos/aheyman/h2database/git/commits{/sha}","comments_url":"https://api.github.com/repos/aheyman/h2database/comments{/number}","issue_comment_url":"https://api.github.com/repos/aheyman/h2database/issues/comments{/number}","contents_url":"https://api.github.com/repos/aheyman/h2database/contents/{+path}","compare_url":"https://api.github.com/repos/aheyman/h2database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aheyman/h2database/merges","archive_url":"https://api.github.com/repos/aheyman/h2database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aheyman/h2database/downloads","issues_url":"https://api.github.com/repos/aheyman/h2database/issues{/number}","pulls_url":"https://api.github.com/repos/aheyman/h2database/pulls{/number}","milestones_url":"https://api.github.com/repos/aheyman/h2database/milestones{/number}","notifications_url":"https://api.github.com/repos/aheyman/h2database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aheyman/h2database/labels{/name}","releases_url":"https://api.github.com/repos/aheyman/h2database/releases{/id}","deployments_url":"https://api.github.com/repos/aheyman/h2database/deployments","created_at":"2017-06-24T03:01:41Z","updated_at":"2017-06-24T03:01:47Z","pushed_at":"2017-07-07T23:53:15Z","git_url":"git://github.com/aheyman/h2database.git","ssh_url":"git@github.com:aheyman/h2database.git","clone_url":"https://github.com/aheyman/h2database.git","svn_url":"https://github.com/aheyman/h2database","homepage":"http://h2database.com","size":53483,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"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":"aheyman:master","ref":"master","sha":"d08b4bc2ba33c801f8760b46378c786cf624086a","user":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"repo":{"id":95272100,"name":"h2database","full_name":"aheyman/h2database","owner":{"login":"aheyman","id":5677425,"avatar_url":"https://avatars1.githubusercontent.com/u/5677425?v=3","gravatar_id":"","url":"https://api.github.com/users/aheyman","html_url":"https://github.com/aheyman","followers_url":"https://api.github.com/users/aheyman/followers","following_url":"https://api.github.com/users/aheyman/following{/other_user}","gists_url":"https://api.github.com/users/aheyman/gists{/gist_id}","starred_url":"https://api.github.com/users/aheyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheyman/subscriptions","organizations_url":"https://api.github.com/users/aheyman/orgs","repos_url":"https://api.github.com/users/aheyman/repos","events_url":"https://api.github.com/users/aheyman/events{/privacy}","received_events_url":"https://api.github.com/users/aheyman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aheyman/h2database","description":"H2 is an embeddable RDBMS written in Java.","fork":true,"url":"https://api.github.com/repos/aheyman/h2database","forks_url":"https://api.github.com/repos/aheyman/h2database/forks","keys_url":"https://api.github.com/repos/aheyman/h2database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aheyman/h2database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aheyman/h2database/teams","hooks_url":"https://api.github.com/repos/aheyman/h2database/hooks","issue_events_url":"https://api.github.com/repos/aheyman/h2database/issues/events{/number}","events_url":"https://api.github.com/repos/aheyman/h2database/events","assignees_url":"https://api.github.com/repos/aheyman/h2database/assignees{/user}","branches_url":"https://api.github.com/repos/aheyman/h2database/branches{/branch}","tags_url":"https://api.github.com/repos/aheyman/h2database/tags","blobs_url":"https://api.github.com/repos/aheyman/h2database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aheyman/h2database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aheyman/h2database/git/refs{/sha}","trees_url":"https://api.github.com/repos/aheyman/h2database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aheyman/h2database/statuses/{sha}","languages_url":"https://api.github.com/repos/aheyman/h2database/languages","stargazers_url":"https://api.github.com/repos/aheyman/h2database/stargazers","contributors_url":"https://api.github.com/repos/aheyman/h2database/contributors","subscribers_url":"https://api.github.com/repos/aheyman/h2database/subscribers","subscription_url":"https://api.github.com/repos/aheyman/h2database/subscription","commits_url":"https://api.github.com/repos/aheyman/h2database/commits{/sha}","git_commits_url":"https://api.github.com/repos/aheyman/h2database/git/commits{/sha}","comments_url":"https://api.github.com/repos/aheyman/h2database/comments{/number}","issue_comment_url":"https://api.github.com/repos/aheyman/h2database/issues/comments{/number}","contents_url":"https://api.github.com/repos/aheyman/h2database/contents/{+path}","compare_url":"https://api.github.com/repos/aheyman/h2database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aheyman/h2database/merges","archive_url":"https://api.github.com/repos/aheyman/h2database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aheyman/h2database/downloads","issues_url":"https://api.github.com/repos/aheyman/h2database/issues{/number}","pulls_url":"https://api.github.com/repos/aheyman/h2database/pulls{/number}","milestones_url":"https://api.github.com/repos/aheyman/h2database/milestones{/number}","notifications_url":"https://api.github.com/repos/aheyman/h2database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aheyman/h2database/labels{/name}","releases_url":"https://api.github.com/repos/aheyman/h2database/releases{/id}","deployments_url":"https://api.github.com/repos/aheyman/h2database/deployments","created_at":"2017-06-24T03:01:41Z","updated_at":"2017-06-24T03:01:47Z","pushed_at":"2017-07-07T23:53:15Z","git_url":"git://github.com/aheyman/h2database.git","ssh_url":"git@github.com:aheyman/h2database.git","clone_url":"https://github.com/aheyman/h2database.git","svn_url":"https://github.com/aheyman/h2database","homepage":"http://h2database.com","size":53483,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/1"},"html":{"href":"https://github.com/aheyman/h2database/pull/1"},"issue":{"href":"https://api.github.com/repos/aheyman/h2database/issues/1"},"comments":{"href":"https://api.github.com/repos/aheyman/h2database/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aheyman/h2database/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aheyman/h2database/statuses/93b6198b8db3dbc27b129c43ffe13ea8fefd58d7"}}}}
{"actor":{"display_login":"aheyman"}}