{"action":"opened","number":5127,"pull_request":{"url":"https://api.github.com/repos/prestodb/presto/pulls/5127","id":68018483,"html_url":"https://github.com/prestodb/presto/pull/5127","diff_url":"https://github.com/prestodb/presto/pull/5127.diff","patch_url":"https://github.com/prestodb/presto/pull/5127.patch","issue_url":"https://api.github.com/repos/prestodb/presto/issues/5127","number":5127,"state":"open","locked":false,"title":"Add a session property to specify number of source node candidates","user":{"login":"miniway","id":725129,"avatar_url":"https://avatars.githubusercontent.com/u/725129?v=3","gravatar_id":"","url":"https://api.github.com/users/miniway","html_url":"https://github.com/miniway","followers_url":"https://api.github.com/users/miniway/followers","following_url":"https://api.github.com/users/miniway/following{/other_user}","gists_url":"https://api.github.com/users/miniway/gists{/gist_id}","starred_url":"https://api.github.com/users/miniway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniway/subscriptions","organizations_url":"https://api.github.com/users/miniway/orgs","repos_url":"https://api.github.com/users/miniway/repos","events_url":"https://api.github.com/users/miniway/events{/privacy}","received_events_url":"https://api.github.com/users/miniway/received_events","type":"User","site_admin":false},"body":"Like `hash_partition_count`, if we're able to specify number of source node candidates, we could throttle processing of partitioned splits per query. A large scan query might get better performance by specifying large number or a low priority query could run on smaller set of worker nodes.   ","created_at":"2016-04-27T08:58:46Z","updated_at":"2016-04-27T08:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prestodb/presto/pulls/5127/commits","review_comments_url":"https://api.github.com/repos/prestodb/presto/pulls/5127/comments","review_comment_url":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/5127/comments","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/a11b707bc875b18d22de33923306ad5d1de15d31","head":{"label":"miniway:source_node_session","ref":"source_node_session","sha":"a11b707bc875b18d22de33923306ad5d1de15d31","user":{"login":"miniway","id":725129,"avatar_url":"https://avatars.githubusercontent.com/u/725129?v=3","gravatar_id":"","url":"https://api.github.com/users/miniway","html_url":"https://github.com/miniway","followers_url":"https://api.github.com/users/miniway/followers","following_url":"https://api.github.com/users/miniway/following{/other_user}","gists_url":"https://api.github.com/users/miniway/gists{/gist_id}","starred_url":"https://api.github.com/users/miniway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniway/subscriptions","organizations_url":"https://api.github.com/users/miniway/orgs","repos_url":"https://api.github.com/users/miniway/repos","events_url":"https://api.github.com/users/miniway/events{/privacy}","received_events_url":"https://api.github.com/users/miniway/received_events","type":"User","site_admin":false},"repo":{"id":39593080,"name":"presto","full_name":"miniway/presto","owner":{"login":"miniway","id":725129,"avatar_url":"https://avatars.githubusercontent.com/u/725129?v=3","gravatar_id":"","url":"https://api.github.com/users/miniway","html_url":"https://github.com/miniway","followers_url":"https://api.github.com/users/miniway/followers","following_url":"https://api.github.com/users/miniway/following{/other_user}","gists_url":"https://api.github.com/users/miniway/gists{/gist_id}","starred_url":"https://api.github.com/users/miniway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miniway/subscriptions","organizations_url":"https://api.github.com/users/miniway/orgs","repos_url":"https://api.github.com/users/miniway/repos","events_url":"https://api.github.com/users/miniway/events{/privacy}","received_events_url":"https://api.github.com/users/miniway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miniway/presto","description":"Distributed SQL query engine for running interactive analytic queries against big data sources.","fork":true,"url":"https://api.github.com/repos/miniway/presto","forks_url":"https://api.github.com/repos/miniway/presto/forks","keys_url":"https://api.github.com/repos/miniway/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miniway/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miniway/presto/teams","hooks_url":"https://api.github.com/repos/miniway/presto/hooks","issue_events_url":"https://api.github.com/repos/miniway/presto/issues/events{/number}","events_url":"https://api.github.com/repos/miniway/presto/events","assignees_url":"https://api.github.com/repos/miniway/presto/assignees{/user}","branches_url":"https://api.github.com/repos/miniway/presto/branches{/branch}","tags_url":"https://api.github.com/repos/miniway/presto/tags","blobs_url":"https://api.github.com/repos/miniway/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miniway/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miniway/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/miniway/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miniway/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/miniway/presto/languages","stargazers_url":"https://api.github.com/repos/miniway/presto/stargazers","contributors_url":"https://api.github.com/repos/miniway/presto/contributors","subscribers_url":"https://api.github.com/repos/miniway/presto/subscribers","subscription_url":"https://api.github.com/repos/miniway/presto/subscription","commits_url":"https://api.github.com/repos/miniway/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/miniway/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/miniway/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/miniway/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/miniway/presto/contents/{+path}","compare_url":"https://api.github.com/repos/miniway/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miniway/presto/merges","archive_url":"https://api.github.com/repos/miniway/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miniway/presto/downloads","issues_url":"https://api.github.com/repos/miniway/presto/issues{/number}","pulls_url":"https://api.github.com/repos/miniway/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/miniway/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/miniway/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miniway/presto/labels{/name}","releases_url":"https://api.github.com/repos/miniway/presto/releases{/id}","deployments_url":"https://api.github.com/repos/miniway/presto/deployments","created_at":"2015-07-23T21:10:45Z","updated_at":"2016-03-24T09:55:25Z","pushed_at":"2016-04-27T08:44:26Z","git_url":"git://github.com/miniway/presto.git","ssh_url":"git@github.com:miniway/presto.git","clone_url":"https://github.com/miniway/presto.git","svn_url":"https://github.com/miniway/presto","homepage":"https://prestodb.io","size":55855,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"prestodb:master","ref":"master","sha":"f407eea04cde7682386282aa00a720cdaf0df197","user":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"repo":{"id":5349565,"name":"presto","full_name":"prestodb/presto","owner":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prestodb/presto","description":"Distributed SQL query engine for big data","fork":false,"url":"https://api.github.com/repos/prestodb/presto","forks_url":"https://api.github.com/repos/prestodb/presto/forks","keys_url":"https://api.github.com/repos/prestodb/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prestodb/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prestodb/presto/teams","hooks_url":"https://api.github.com/repos/prestodb/presto/hooks","issue_events_url":"https://api.github.com/repos/prestodb/presto/issues/events{/number}","events_url":"https://api.github.com/repos/prestodb/presto/events","assignees_url":"https://api.github.com/repos/prestodb/presto/assignees{/user}","branches_url":"https://api.github.com/repos/prestodb/presto/branches{/branch}","tags_url":"https://api.github.com/repos/prestodb/presto/tags","blobs_url":"https://api.github.com/repos/prestodb/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prestodb/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prestodb/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/prestodb/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/prestodb/presto/languages","stargazers_url":"https://api.github.com/repos/prestodb/presto/stargazers","contributors_url":"https://api.github.com/repos/prestodb/presto/contributors","subscribers_url":"https://api.github.com/repos/prestodb/presto/subscribers","subscription_url":"https://api.github.com/repos/prestodb/presto/subscription","commits_url":"https://api.github.com/repos/prestodb/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/prestodb/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/prestodb/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/prestodb/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/prestodb/presto/contents/{+path}","compare_url":"https://api.github.com/repos/prestodb/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prestodb/presto/merges","archive_url":"https://api.github.com/repos/prestodb/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prestodb/presto/downloads","issues_url":"https://api.github.com/repos/prestodb/presto/issues{/number}","pulls_url":"https://api.github.com/repos/prestodb/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/prestodb/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/prestodb/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prestodb/presto/labels{/name}","releases_url":"https://api.github.com/repos/prestodb/presto/releases{/id}","deployments_url":"https://api.github.com/repos/prestodb/presto/deployments","created_at":"2012-08-09T01:03:37Z","updated_at":"2016-04-26T19:07:59Z","pushed_at":"2016-04-27T08:58:46Z","git_url":"git://github.com/prestodb/presto.git","ssh_url":"git@github.com:prestodb/presto.git","clone_url":"https://github.com/prestodb/presto.git","svn_url":"https://github.com/prestodb/presto","homepage":"https://prestodb.io","size":149290,"stargazers_count":4694,"watchers_count":4694,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1363,"mirror_url":null,"open_issues_count":568,"forks":1363,"open_issues":568,"watchers":4694,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto/pulls/5127"},"html":{"href":"https://github.com/prestodb/presto/pull/5127"},"issue":{"href":"https://api.github.com/repos/prestodb/presto/issues/5127"},"comments":{"href":"https://api.github.com/repos/prestodb/presto/issues/5127/comments"},"review_comments":{"href":"https://api.github.com/repos/prestodb/presto/pulls/5127/comments"},"review_comment":{"href":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prestodb/presto/pulls/5127/commits"},"statuses":{"href":"https://api.github.com/repos/prestodb/presto/statuses/a11b707bc875b18d22de33923306ad5d1de15d31"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":37,"changed_files":12}}