{"action":"opened","issue":{"url":"https://api.github.com/repos/brownplt/pyret-lang/issues/1348","repository_url":"https://api.github.com/repos/brownplt/pyret-lang","labels_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/1348/labels{/name}","comments_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/1348/comments","events_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/1348/events","html_url":"https://github.com/brownplt/pyret-lang/issues/1348","id":336628635,"node_id":"MDU6SXNzdWUzMzY2Mjg2MzU=","number":1348,"title":"Tables' `select-columns` is broken","user":{"login":"blerner","id":918464,"node_id":"MDQ6VXNlcjkxODQ2NA==","avatar_url":"https://avatars1.githubusercontent.com/u/918464?v=4","gravatar_id":"","url":"https://api.github.com/users/blerner","html_url":"https://github.com/blerner","followers_url":"https://api.github.com/users/blerner/followers","following_url":"https://api.github.com/users/blerner/following{/other_user}","gists_url":"https://api.github.com/users/blerner/gists{/gist_id}","starred_url":"https://api.github.com/users/blerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blerner/subscriptions","organizations_url":"https://api.github.com/users/blerner/orgs","repos_url":"https://api.github.com/users/blerner/repos","events_url":"https://api.github.com/users/blerner/events{/privacy}","received_events_url":"https://api.github.com/users/blerner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T13:46:24Z","updated_at":"2018-06-28T13:46:24Z","closed_at":null,"author_association":"MEMBER","body":"```\r\ntable-examp = table: name :: String, age :: Number, favorite-color :: String, height :: Number, male :: Boolean\r\n  row: \"Bob\", 12, \"blue\", 62, false\r\n  row: \"Alice\", 17, \"green\", 55, true\r\n  row: \"Eve\", 13, \"red\", 70, false\r\nend\r\n\r\ntable-examp.select-columns([list: \"name\", \"age\", \"favorite-color\", \"height\", \"male\"])\r\n```\r\ncauses an internal error.  This is specifically triggered when the number of selected columns is greater than the number of rows, because the arrays are sized incorrectly in table.js."}}
{"actor":{"display_login":"blerner"}}