{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9011","labels_url":"https://api.github.com/repos/apache/spark/issues/9011/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9011/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9011/events","html_url":"https://github.com/apache/spark/pull/9011","id":110285365,"number":9011,"title":"[SPARK-10960][SQL] SQL with windowing function should be able to refer column in inner select","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T18:16:00Z","updated_at":"2015-10-08T06:58:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9011","html_url":"https://github.com/apache/spark/pull/9011","diff_url":"https://github.com/apache/spark/pull/9011.diff","patch_url":"https://github.com/apache/spark/pull/9011.patch"},"body":"JIRA: https://issues.apache.org/jira/browse/SPARK-10960\r\n\r\nCurrently, when accessing a column in inner select from a select with window function, `AnalysisException` will be thrown. This patch fixes it.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/146438339","html_url":"https://github.com/apache/spark/pull/9011#issuecomment-146438339","issue_url":"https://api.github.com/repos/apache/spark/issues/9011","id":146438339,"user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T06:58:06Z","updated_at":"2015-10-08T06:58:06Z","body":"cc @cloud-fan  can you take a look at this?\r\n"}}