{"action":"created","comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments/168825385","pull_request_review_id":97262124,"id":168825385,"diff_hunk":"@@ -1,6 +1,8 @@\n -- start_ignore\n create schema qp_derived_table;\n set search_path to qp_derived_table;\n+set optimizer_join_order=query;","path":"src/test/regress/sql/qp_derived_table.sql","position":4,"original_position":4,"commit_id":"493b90ea22703d52fea68e07d623ebff6717382a","original_commit_id":"493b90ea22703d52fea68e07d623ebff6717382a","user":{"login":"vraghavan78","id":12649877,"avatar_url":"https://avatars1.githubusercontent.com/u/12649877?v=4","gravatar_id":"","url":"https://api.github.com/users/vraghavan78","html_url":"https://github.com/vraghavan78","followers_url":"https://api.github.com/users/vraghavan78/followers","following_url":"https://api.github.com/users/vraghavan78/following{/other_user}","gists_url":"https://api.github.com/users/vraghavan78/gists{/gist_id}","starred_url":"https://api.github.com/users/vraghavan78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vraghavan78/subscriptions","organizations_url":"https://api.github.com/users/vraghavan78/orgs","repos_url":"https://api.github.com/users/vraghavan78/repos","events_url":"https://api.github.com/users/vraghavan78/events{/privacy}","received_events_url":"https://api.github.com/users/vraghavan78/received_events","type":"User","site_admin":false},"body":"+1","created_at":"2018-02-16T17:49:22Z","updated_at":"2018-02-16T17:49:22Z","html_url":"https://github.com/greenplum-db/gpdb/pull/4549#discussion_r168825385","pull_request_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments/168825385"},"html":{"href":"https://github.com/greenplum-db/gpdb/pull/4549#discussion_r168825385"},"pull_request":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549"}},"in_reply_to_id":168701307},"pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549","id":169441755,"html_url":"https://github.com/greenplum-db/gpdb/pull/4549","diff_url":"https://github.com/greenplum-db/gpdb/pull/4549.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/4549.patch","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4549","number":4549,"state":"open","locked":false,"title":"Make qp_derived_table faster with ORCA","user":{"login":"dhanashreek89","id":18387095,"avatar_url":"https://avatars0.githubusercontent.com/u/18387095?v=4","gravatar_id":"","url":"https://api.github.com/users/dhanashreek89","html_url":"https://github.com/dhanashreek89","followers_url":"https://api.github.com/users/dhanashreek89/followers","following_url":"https://api.github.com/users/dhanashreek89/following{/other_user}","gists_url":"https://api.github.com/users/dhanashreek89/gists{/gist_id}","starred_url":"https://api.github.com/users/dhanashreek89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhanashreek89/subscriptions","organizations_url":"https://api.github.com/users/dhanashreek89/orgs","repos_url":"https://api.github.com/users/dhanashreek89/repos","events_url":"https://api.github.com/users/dhanashreek89/events{/privacy}","received_events_url":"https://api.github.com/users/dhanashreek89/received_events","type":"User","site_admin":false},"body":"Disable the exhaustive optimal join order search by setting `optimizer_join_order=query`. qp_derived_table contains join intensive queries and when run with ORCA; the optimization time is higher. Since there are no EXPLAIN tests in qp_derived_table we can disable the exhaustive search and make this test run faster with ORCA.\r\n\r\nAlso verified with `set optimizer_trace_fallback=on`, that after setting the above GUC, ORCA does not fallback for any query. ","created_at":"2018-02-15T17:53:15Z","updated_at":"2018-02-16T17:49:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7497167d5bf648806275e067ad255eb601360929","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549/commits","review_comments_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549/comments","review_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/4549/comments","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/493b90ea22703d52fea68e07d623ebff6717382a","head":{"label":"dhanashreek89:make_qp_derived_table_faster","ref":"make_qp_derived_table_faster","sha":"493b90ea22703d52fea68e07d623ebff6717382a","user":{"login":"dhanashreek89","id":18387095,"avatar_url":"https://avatars0.githubusercontent.com/u/18387095?v=4","gravatar_id":"","url":"https://api.github.com/users/dhanashreek89","html_url":"https://github.com/dhanashreek89","followers_url":"https://api.github.com/users/dhanashreek89/followers","following_url":"https://api.github.com/users/dhanashreek89/following{/other_user}","gists_url":"https://api.github.com/users/dhanashreek89/gists{/gist_id}","starred_url":"https://api.github.com/users/dhanashreek89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhanashreek89/subscriptions","organizations_url":"https://api.github.com/users/dhanashreek89/orgs","repos_url":"https://api.github.com/users/dhanashreek89/repos","events_url":"https://api.github.com/users/dhanashreek89/events{/privacy}","received_events_url":"https://api.github.com/users/dhanashreek89/received_events","type":"User","site_admin":false},"repo":{"id":75321536,"name":"gpdb","full_name":"dhanashreek89/gpdb","owner":{"login":"dhanashreek89","id":18387095,"avatar_url":"https://avatars0.githubusercontent.com/u/18387095?v=4","gravatar_id":"","url":"https://api.github.com/users/dhanashreek89","html_url":"https://github.com/dhanashreek89","followers_url":"https://api.github.com/users/dhanashreek89/followers","following_url":"https://api.github.com/users/dhanashreek89/following{/other_user}","gists_url":"https://api.github.com/users/dhanashreek89/gists{/gist_id}","starred_url":"https://api.github.com/users/dhanashreek89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhanashreek89/subscriptions","organizations_url":"https://api.github.com/users/dhanashreek89/orgs","repos_url":"https://api.github.com/users/dhanashreek89/repos","events_url":"https://api.github.com/users/dhanashreek89/events{/privacy}","received_events_url":"https://api.github.com/users/dhanashreek89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhanashreek89/gpdb","description":"Greenplum Database","fork":true,"url":"https://api.github.com/repos/dhanashreek89/gpdb","forks_url":"https://api.github.com/repos/dhanashreek89/gpdb/forks","keys_url":"https://api.github.com/repos/dhanashreek89/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhanashreek89/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhanashreek89/gpdb/teams","hooks_url":"https://api.github.com/repos/dhanashreek89/gpdb/hooks","issue_events_url":"https://api.github.com/repos/dhanashreek89/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/dhanashreek89/gpdb/events","assignees_url":"https://api.github.com/repos/dhanashreek89/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/dhanashreek89/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/dhanashreek89/gpdb/tags","blobs_url":"https://api.github.com/repos/dhanashreek89/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhanashreek89/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhanashreek89/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhanashreek89/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhanashreek89/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/dhanashreek89/gpdb/languages","stargazers_url":"https://api.github.com/repos/dhanashreek89/gpdb/stargazers","contributors_url":"https://api.github.com/repos/dhanashreek89/gpdb/contributors","subscribers_url":"https://api.github.com/repos/dhanashreek89/gpdb/subscribers","subscription_url":"https://api.github.com/repos/dhanashreek89/gpdb/subscription","commits_url":"https://api.github.com/repos/dhanashreek89/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhanashreek89/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhanashreek89/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhanashreek89/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhanashreek89/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/dhanashreek89/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhanashreek89/gpdb/merges","archive_url":"https://api.github.com/repos/dhanashreek89/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhanashreek89/gpdb/downloads","issues_url":"https://api.github.com/repos/dhanashreek89/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/dhanashreek89/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/dhanashreek89/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/dhanashreek89/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhanashreek89/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/dhanashreek89/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/dhanashreek89/gpdb/deployments","created_at":"2016-12-01T18:39:41Z","updated_at":"2016-12-01T18:40:54Z","pushed_at":"2018-02-15T19:24:39Z","git_url":"git://github.com/dhanashreek89/gpdb.git","ssh_url":"git@github.com:dhanashreek89/gpdb.git","clone_url":"https://github.com/dhanashreek89/gpdb.git","svn_url":"https://github.com/dhanashreek89/gpdb","homepage":"http://greenplum.org","size":297178,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"greenplum-db:master","ref":"master","sha":"8a736a5fb215b0dd05c36d68353aac6b65c506b7","user":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars2.githubusercontent.com/u/14097842?v=4","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"repo":{"id":44781140,"name":"gpdb","full_name":"greenplum-db/gpdb","owner":{"login":"greenplum-db","id":14097842,"avatar_url":"https://avatars2.githubusercontent.com/u/14097842?v=4","gravatar_id":"","url":"https://api.github.com/users/greenplum-db","html_url":"https://github.com/greenplum-db","followers_url":"https://api.github.com/users/greenplum-db/followers","following_url":"https://api.github.com/users/greenplum-db/following{/other_user}","gists_url":"https://api.github.com/users/greenplum-db/gists{/gist_id}","starred_url":"https://api.github.com/users/greenplum-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenplum-db/subscriptions","organizations_url":"https://api.github.com/users/greenplum-db/orgs","repos_url":"https://api.github.com/users/greenplum-db/repos","events_url":"https://api.github.com/users/greenplum-db/events{/privacy}","received_events_url":"https://api.github.com/users/greenplum-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/greenplum-db/gpdb","description":"Greenplum Database","fork":false,"url":"https://api.github.com/repos/greenplum-db/gpdb","forks_url":"https://api.github.com/repos/greenplum-db/gpdb/forks","keys_url":"https://api.github.com/repos/greenplum-db/gpdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greenplum-db/gpdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greenplum-db/gpdb/teams","hooks_url":"https://api.github.com/repos/greenplum-db/gpdb/hooks","issue_events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/events{/number}","events_url":"https://api.github.com/repos/greenplum-db/gpdb/events","assignees_url":"https://api.github.com/repos/greenplum-db/gpdb/assignees{/user}","branches_url":"https://api.github.com/repos/greenplum-db/gpdb/branches{/branch}","tags_url":"https://api.github.com/repos/greenplum-db/gpdb/tags","blobs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greenplum-db/gpdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greenplum-db/gpdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/greenplum-db/gpdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greenplum-db/gpdb/statuses/{sha}","languages_url":"https://api.github.com/repos/greenplum-db/gpdb/languages","stargazers_url":"https://api.github.com/repos/greenplum-db/gpdb/stargazers","contributors_url":"https://api.github.com/repos/greenplum-db/gpdb/contributors","subscribers_url":"https://api.github.com/repos/greenplum-db/gpdb/subscribers","subscription_url":"https://api.github.com/repos/greenplum-db/gpdb/subscription","commits_url":"https://api.github.com/repos/greenplum-db/gpdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/greenplum-db/gpdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/greenplum-db/gpdb/contents/{+path}","compare_url":"https://api.github.com/repos/greenplum-db/gpdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greenplum-db/gpdb/merges","archive_url":"https://api.github.com/repos/greenplum-db/gpdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greenplum-db/gpdb/downloads","issues_url":"https://api.github.com/repos/greenplum-db/gpdb/issues{/number}","pulls_url":"https://api.github.com/repos/greenplum-db/gpdb/pulls{/number}","milestones_url":"https://api.github.com/repos/greenplum-db/gpdb/milestones{/number}","notifications_url":"https://api.github.com/repos/greenplum-db/gpdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/labels{/name}","releases_url":"https://api.github.com/repos/greenplum-db/gpdb/releases{/id}","deployments_url":"https://api.github.com/repos/greenplum-db/gpdb/deployments","created_at":"2015-10-23T00:25:17Z","updated_at":"2018-02-14T18:06:30Z","pushed_at":"2018-02-16T16:10:59Z","git_url":"git://github.com/greenplum-db/gpdb.git","ssh_url":"git@github.com:greenplum-db/gpdb.git","clone_url":"https://github.com/greenplum-db/gpdb.git","svn_url":"https://github.com/greenplum-db/gpdb","homepage":"http://greenplum.org","size":257505,"stargazers_count":2320,"watchers_count":2320,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":732,"mirror_url":null,"archived":false,"open_issues_count":226,"license":null,"forks":732,"open_issues":226,"watchers":2320,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549"},"html":{"href":"https://github.com/greenplum-db/gpdb/pull/4549"},"issue":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/4549"},"comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/issues/4549/comments"},"review_comments":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549/comments"},"review_comment":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greenplum-db/gpdb/pulls/4549/commits"},"statuses":{"href":"https://api.github.com/repos/greenplum-db/gpdb/statuses/493b90ea22703d52fea68e07d623ebff6717382a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vraghavan78"}}