{"action":"created","issue":{"url":"https://api.github.com/repos/prestodb/presto/issues/4403","repository_url":"https://api.github.com/repos/prestodb/presto","labels_url":"https://api.github.com/repos/prestodb/presto/issues/4403/labels{/name}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/4403/comments","events_url":"https://api.github.com/repos/prestodb/presto/issues/4403/events","html_url":"https://github.com/prestodb/presto/pull/4403","id":128122525,"number":4403,"title":"Introduce Apply plan node for subqueries","user":{"login":"kokosing","id":7569403,"avatar_url":"https://avatars.githubusercontent.com/u/7569403?v=3","gravatar_id":"","url":"https://api.github.com/users/kokosing","html_url":"https://github.com/kokosing","followers_url":"https://api.github.com/users/kokosing/followers","following_url":"https://api.github.com/users/kokosing/following{/other_user}","gists_url":"https://api.github.com/users/kokosing/gists{/gist_id}","starred_url":"https://api.github.com/users/kokosing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokosing/subscriptions","organizations_url":"https://api.github.com/users/kokosing/orgs","repos_url":"https://api.github.com/users/kokosing/repos","events_url":"https://api.github.com/users/kokosing/events{/privacy}","received_events_url":"https://api.github.com/users/kokosing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prestodb/presto/labels/changes-requested","name":"changes-requested","color":"fbca04"},{"url":"https://api.github.com/repos/prestodb/presto/labels/CLA%20Signed","name":"CLA Signed","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"kokosing","id":7569403,"avatar_url":"https://avatars.githubusercontent.com/u/7569403?v=3","gravatar_id":"","url":"https://api.github.com/users/kokosing","html_url":"https://github.com/kokosing","followers_url":"https://api.github.com/users/kokosing/followers","following_url":"https://api.github.com/users/kokosing/following{/other_user}","gists_url":"https://api.github.com/users/kokosing/gists{/gist_id}","starred_url":"https://api.github.com/users/kokosing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokosing/subscriptions","organizations_url":"https://api.github.com/users/kokosing/orgs","repos_url":"https://api.github.com/users/kokosing/repos","events_url":"https://api.github.com/users/kokosing/events{/privacy}","received_events_url":"https://api.github.com/users/kokosing/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-01-22T10:04:07Z","updated_at":"2016-05-05T07:03:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prestodb/presto/pulls/4403","html_url":"https://github.com/prestodb/presto/pull/4403","diff_url":"https://github.com/prestodb/presto/pull/4403.diff","patch_url":"https://github.com/prestodb/presto/pull/4403.patch"},"body":"    It is a logical representation of a subquery.\r\n    Apply node contains input relation, expression relation and parameters\r\n    (symbol list).\r\n    \r\n    Each row in the input relation is passed to the expression, then\r\n    expression (subquery) is executed. Expression produces new columns which\r\n    are joined with the input row. Parameters (correlation list) determines\r\n    what columns need to be passed from the input to the expression to\r\n    calculate the result rows. If correlation list is empty then subquery\r\n    is not correlated, in this case values returned from expression are\r\n    always the same, not dependent on input relation.\r\n    \r\n    See\r\n    https://docs.google.com/document/d/18HN7peS2eR8lZsErqcmnoWyMEPb6p4OQeidH1JP_EkA/\r\n"},"comment":{"url":"https://api.github.com/repos/prestodb/presto/issues/comments/217089802","html_url":"https://github.com/prestodb/presto/pull/4403#issuecomment-217089802","issue_url":"https://api.github.com/repos/prestodb/presto/issues/4403","id":217089802,"user":{"login":"kokosing","id":7569403,"avatar_url":"https://avatars.githubusercontent.com/u/7569403?v=3","gravatar_id":"","url":"https://api.github.com/users/kokosing","html_url":"https://github.com/kokosing","followers_url":"https://api.github.com/users/kokosing/followers","following_url":"https://api.github.com/users/kokosing/following{/other_user}","gists_url":"https://api.github.com/users/kokosing/gists{/gist_id}","starred_url":"https://api.github.com/users/kokosing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokosing/subscriptions","organizations_url":"https://api.github.com/users/kokosing/orgs","repos_url":"https://api.github.com/users/kokosing/repos","events_url":"https://api.github.com/users/kokosing/events{/privacy}","received_events_url":"https://api.github.com/users/kokosing/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T07:03:33Z","updated_at":"2016-05-05T07:03:33Z","body":"Superseded by #5202  "}}