{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/19483","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/19483/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/19483/comments","events_url":"https://api.github.com/repos/apache/spark/issues/19483/events","html_url":"https://github.com/apache/spark/pull/19483","id":264956285,"number":19483,"title":"[SPARK-21165][SQL] FileFormatWriter should handle mismatched attribute ids between logical and physical plan","user":{"login":"cloud-fan","id":3182036,"avatar_url":"https://avatars3.githubusercontent.com/u/3182036?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-fan","html_url":"https://github.com/cloud-fan","followers_url":"https://api.github.com/users/cloud-fan/followers","following_url":"https://api.github.com/users/cloud-fan/following{/other_user}","gists_url":"https://api.github.com/users/cloud-fan/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-fan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-fan/subscriptions","organizations_url":"https://api.github.com/users/cloud-fan/orgs","repos_url":"https://api.github.com/users/cloud-fan/repos","events_url":"https://api.github.com/users/cloud-fan/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-fan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-12T14:08:47Z","updated_at":"2017-10-13T02:53:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/19483","html_url":"https://github.com/apache/spark/pull/19483","diff_url":"https://github.com/apache/spark/pull/19483.diff","patch_url":"https://github.com/apache/spark/pull/19483.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nDue to optimizer removing some unnecessary aliases, the logical and physical plan may have different output attribute ids. FileFormatWriter should handle this when creating the physical sort node.\r\n\r\n## How was this patch tested?\r\n\r\nnew regression test."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/336336103","html_url":"https://github.com/apache/spark/pull/19483#issuecomment-336336103","issue_url":"https://api.github.com/repos/apache/spark/issues/19483","id":336336103,"user":{"login":"cloud-fan","id":3182036,"avatar_url":"https://avatars3.githubusercontent.com/u/3182036?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-fan","html_url":"https://github.com/cloud-fan","followers_url":"https://api.github.com/users/cloud-fan/followers","following_url":"https://api.github.com/users/cloud-fan/following{/other_user}","gists_url":"https://api.github.com/users/cloud-fan/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-fan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-fan/subscriptions","organizations_url":"https://api.github.com/users/cloud-fan/orgs","repos_url":"https://api.github.com/users/cloud-fan/repos","events_url":"https://api.github.com/users/cloud-fan/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-fan/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T02:53:20Z","updated_at":"2017-10-13T02:53:20Z","author_association":"CONTRIBUTOR","body":"I'll refactor it later, to use `requiredChildOrdering` to do the sort. I just wanna make this bug fix as simple as possible."}}
{"actor":{"display_login":"cloud-fan"}}