{"action":"created","issue":{"url":"https://api.github.com/repos/prestodb/presto/issues/5686","repository_url":"https://api.github.com/repos/prestodb/presto","labels_url":"https://api.github.com/repos/prestodb/presto/issues/5686/labels{/name}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/5686/comments","events_url":"https://api.github.com/repos/prestodb/presto/issues/5686/events","html_url":"https://github.com/prestodb/presto/pull/5686","id":166041393,"number":5686,"title":"Introduce Scope into semantic analyzer","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/CLA%20Signed","name":"CLA Signed","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"martint","id":14387,"avatar_url":"https://avatars.githubusercontent.com/u/14387?v=3","gravatar_id":"","url":"https://api.github.com/users/martint","html_url":"https://github.com/martint","followers_url":"https://api.github.com/users/martint/followers","following_url":"https://api.github.com/users/martint/following{/other_user}","gists_url":"https://api.github.com/users/martint/gists{/gist_id}","starred_url":"https://api.github.com/users/martint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martint/subscriptions","organizations_url":"https://api.github.com/users/martint/orgs","repos_url":"https://api.github.com/users/martint/repos","events_url":"https://api.github.com/users/martint/events{/privacy}","received_events_url":"https://api.github.com/users/martint/received_events","type":"User","site_admin":false},"assignees":[{"login":"martint","id":14387,"avatar_url":"https://avatars.githubusercontent.com/u/14387?v=3","gravatar_id":"","url":"https://api.github.com/users/martint","html_url":"https://github.com/martint","followers_url":"https://api.github.com/users/martint/followers","following_url":"https://api.github.com/users/martint/following{/other_user}","gists_url":"https://api.github.com/users/martint/gists{/gist_id}","starred_url":"https://api.github.com/users/martint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martint/subscriptions","organizations_url":"https://api.github.com/users/martint/orgs","repos_url":"https://api.github.com/users/martint/repos","events_url":"https://api.github.com/users/martint/events{/privacy}","received_events_url":"https://api.github.com/users/martint/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-18T08:17:16Z","updated_at":"2016-08-04T12:29:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prestodb/presto/pulls/5686","html_url":"https://github.com/prestodb/presto/pull/5686","diff_url":"https://github.com/prestodb/presto/pull/5686.diff","patch_url":"https://github.com/prestodb/presto/pull/5686.patch"},"body":"    Introduce Scope into semantic analyzer\r\n    \r\n    Scope is an object which contains information about entities available\r\n    for current SQL clauses. It contains current RelationType as well as\r\n    information about outer queries RelationTypes and available named queries.\r\n    \r\n    Semantic analyzer was changed in a way that each visit method gets and\r\n    returns Scope objects. The input scope gives information about the context of\r\n    given node. Contains information about outer relation types and\r\n    accessible RelationType.\r\n    Returned Scope contains information about produced entities\r\n    (RelationType).\r\n    \r\n    Scopes are stored in Analysis per AST nodes.\r\n    Each to find a Scope for a AST node (expression) we find the closest\r\n    parent which has Scope set in Analysis.\r\n"},"comment":{"url":"https://api.github.com/repos/prestodb/presto/issues/comments/237538430","html_url":"https://github.com/prestodb/presto/pull/5686#issuecomment-237538430","issue_url":"https://api.github.com/repos/prestodb/presto/issues/5686","id":237538430,"user":{"login":"ArturGajowy","id":460141,"avatar_url":"https://avatars.githubusercontent.com/u/460141?v=3","gravatar_id":"","url":"https://api.github.com/users/ArturGajowy","html_url":"https://github.com/ArturGajowy","followers_url":"https://api.github.com/users/ArturGajowy/followers","following_url":"https://api.github.com/users/ArturGajowy/following{/other_user}","gists_url":"https://api.github.com/users/ArturGajowy/gists{/gist_id}","starred_url":"https://api.github.com/users/ArturGajowy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArturGajowy/subscriptions","organizations_url":"https://api.github.com/users/ArturGajowy/orgs","repos_url":"https://api.github.com/users/ArturGajowy/repos","events_url":"https://api.github.com/users/ArturGajowy/events{/privacy}","received_events_url":"https://api.github.com/users/ArturGajowy/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T12:29:23Z","updated_at":"2016-08-04T12:29:23Z","body":"Let me add that I really like how the `Scope` concept emerges from AnalysisContext and is not an anemic DTO."}}
{"actor":{"display_login":"ArturGajowy"}}