{"action":"created","comment":{"url":"https://api.github.com/repos/hail-is/hail/pulls/comments/243338400","pull_request_review_id":187082602,"id":243338400,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzMzODQwMA==","diff_hunk":"@@ -2019,12 +2019,29 @@ def expand_types(self):\n         :class:`.Table`\n             Expanded table.\n         \"\"\"\n+        def _expand(e):\n+            if isinstance(e, CollectionExpression) or isinstance(e, DictExpression):\n+                return hl.map(lambda x: _expand(x), hl.array(e))\n+            elif isinstance(e, StructExpression):","path":"hail/python/hail/table.py","position":7,"original_position":7,"commit_id":"5ac240be333f7ec1082684c52c4e1c4b7a71b57a","original_commit_id":"5ac240be333f7ec1082684c52c4e1c4b7a71b57a","user":{"login":"tpoterba","id":10562794,"node_id":"MDQ6VXNlcjEwNTYyNzk0","avatar_url":"https://avatars2.githubusercontent.com/u/10562794?v=4","gravatar_id":"","url":"https://api.github.com/users/tpoterba","html_url":"https://github.com/tpoterba","followers_url":"https://api.github.com/users/tpoterba/followers","following_url":"https://api.github.com/users/tpoterba/following{/other_user}","gists_url":"https://api.github.com/users/tpoterba/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoterba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoterba/subscriptions","organizations_url":"https://api.github.com/users/tpoterba/orgs","repos_url":"https://api.github.com/users/tpoterba/repos","events_url":"https://api.github.com/users/tpoterba/events{/privacy}","received_events_url":"https://api.github.com/users/tpoterba/received_events","type":"User","site_admin":false},"body":"need tuple too","created_at":"2018-12-20T16:37:12Z","updated_at":"2018-12-20T16:37:15Z","html_url":"https://github.com/hail-is/hail/pull/5021#discussion_r243338400","pull_request_url":"https://api.github.com/repos/hail-is/hail/pulls/5021","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/hail-is/hail/pulls/comments/243338400"},"html":{"href":"https://github.com/hail-is/hail/pull/5021#discussion_r243338400"},"pull_request":{"href":"https://api.github.com/repos/hail-is/hail/pulls/5021"}}},"pull_request":{"url":"https://api.github.com/repos/hail-is/hail/pulls/5021","id":240228909,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMjI4OTA5","html_url":"https://github.com/hail-is/hail/pull/5021","diff_url":"https://github.com/hail-is/hail/pull/5021.diff","patch_url":"https://github.com/hail-is/hail/pull/5021.patch","issue_url":"https://api.github.com/repos/hail-is/hail/issues/5021","number":5021,"state":"open","locked":false,"title":"rewrote expand_types in Python","user":{"login":"cseed","id":1244990,"node_id":"MDQ6VXNlcjEyNDQ5OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1244990?v=4","gravatar_id":"","url":"https://api.github.com/users/cseed","html_url":"https://github.com/cseed","followers_url":"https://api.github.com/users/cseed/followers","following_url":"https://api.github.com/users/cseed/following{/other_user}","gists_url":"https://api.github.com/users/cseed/gists{/gist_id}","starred_url":"https://api.github.com/users/cseed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cseed/subscriptions","organizations_url":"https://api.github.com/users/cseed/orgs","repos_url":"https://api.github.com/users/cseed/repos","events_url":"https://api.github.com/users/cseed/events{/privacy}","received_events_url":"https://api.github.com/users/cseed/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-20T16:27:59Z","updated_at":"2018-12-20T16:37:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d266478b48d20c1db962248c9239147feda7f63","assignee":{"login":"danking","id":106194,"node_id":"MDQ6VXNlcjEwNjE5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/106194?v=4","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false},"assignees":[{"login":"danking","id":106194,"node_id":"MDQ6VXNlcjEwNjE5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/106194?v=4","gravatar_id":"","url":"https://api.github.com/users/danking","html_url":"https://github.com/danking","followers_url":"https://api.github.com/users/danking/followers","following_url":"https://api.github.com/users/danking/following{/other_user}","gists_url":"https://api.github.com/users/danking/gists{/gist_id}","starred_url":"https://api.github.com/users/danking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danking/subscriptions","organizations_url":"https://api.github.com/users/danking/orgs","repos_url":"https://api.github.com/users/danking/repos","events_url":"https://api.github.com/users/danking/events{/privacy}","received_events_url":"https://api.github.com/users/danking/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hail-is/hail/pulls/5021/commits","review_comments_url":"https://api.github.com/repos/hail-is/hail/pulls/5021/comments","review_comment_url":"https://api.github.com/repos/hail-is/hail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hail-is/hail/issues/5021/comments","statuses_url":"https://api.github.com/repos/hail-is/hail/statuses/5ac240be333f7ec1082684c52c4e1c4b7a71b57a","head":{"label":"cseed:pyexpandtypes","ref":"pyexpandtypes","sha":"5ac240be333f7ec1082684c52c4e1c4b7a71b57a","user":{"login":"cseed","id":1244990,"node_id":"MDQ6VXNlcjEyNDQ5OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1244990?v=4","gravatar_id":"","url":"https://api.github.com/users/cseed","html_url":"https://github.com/cseed","followers_url":"https://api.github.com/users/cseed/followers","following_url":"https://api.github.com/users/cseed/following{/other_user}","gists_url":"https://api.github.com/users/cseed/gists{/gist_id}","starred_url":"https://api.github.com/users/cseed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cseed/subscriptions","organizations_url":"https://api.github.com/users/cseed/orgs","repos_url":"https://api.github.com/users/cseed/repos","events_url":"https://api.github.com/users/cseed/events{/privacy}","received_events_url":"https://api.github.com/users/cseed/received_events","type":"User","site_admin":false},"repo":{"id":64697338,"node_id":"MDEwOlJlcG9zaXRvcnk2NDY5NzMzOA==","name":"hail","full_name":"cseed/hail","private":false,"owner":{"login":"cseed","id":1244990,"node_id":"MDQ6VXNlcjEyNDQ5OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/1244990?v=4","gravatar_id":"","url":"https://api.github.com/users/cseed","html_url":"https://github.com/cseed","followers_url":"https://api.github.com/users/cseed/followers","following_url":"https://api.github.com/users/cseed/following{/other_user}","gists_url":"https://api.github.com/users/cseed/gists{/gist_id}","starred_url":"https://api.github.com/users/cseed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cseed/subscriptions","organizations_url":"https://api.github.com/users/cseed/orgs","repos_url":"https://api.github.com/users/cseed/repos","events_url":"https://api.github.com/users/cseed/events{/privacy}","received_events_url":"https://api.github.com/users/cseed/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cseed/hail","description":"Hail, a framework for scalable genetic data analysis","fork":true,"url":"https://api.github.com/repos/cseed/hail","forks_url":"https://api.github.com/repos/cseed/hail/forks","keys_url":"https://api.github.com/repos/cseed/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cseed/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cseed/hail/teams","hooks_url":"https://api.github.com/repos/cseed/hail/hooks","issue_events_url":"https://api.github.com/repos/cseed/hail/issues/events{/number}","events_url":"https://api.github.com/repos/cseed/hail/events","assignees_url":"https://api.github.com/repos/cseed/hail/assignees{/user}","branches_url":"https://api.github.com/repos/cseed/hail/branches{/branch}","tags_url":"https://api.github.com/repos/cseed/hail/tags","blobs_url":"https://api.github.com/repos/cseed/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cseed/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cseed/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/cseed/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cseed/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/cseed/hail/languages","stargazers_url":"https://api.github.com/repos/cseed/hail/stargazers","contributors_url":"https://api.github.com/repos/cseed/hail/contributors","subscribers_url":"https://api.github.com/repos/cseed/hail/subscribers","subscription_url":"https://api.github.com/repos/cseed/hail/subscription","commits_url":"https://api.github.com/repos/cseed/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/cseed/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/cseed/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/cseed/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/cseed/hail/contents/{+path}","compare_url":"https://api.github.com/repos/cseed/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cseed/hail/merges","archive_url":"https://api.github.com/repos/cseed/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cseed/hail/downloads","issues_url":"https://api.github.com/repos/cseed/hail/issues{/number}","pulls_url":"https://api.github.com/repos/cseed/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/cseed/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/cseed/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cseed/hail/labels{/name}","releases_url":"https://api.github.com/repos/cseed/hail/releases{/id}","deployments_url":"https://api.github.com/repos/cseed/hail/deployments","created_at":"2016-08-01T19:57:20Z","updated_at":"2018-12-20T06:56:26Z","pushed_at":"2018-12-20T16:29:00Z","git_url":"git://github.com/cseed/hail.git","ssh_url":"git@github.com:cseed/hail.git","clone_url":"https://github.com/cseed/hail.git","svn_url":"https://github.com/cseed/hail","homepage":"","size":81383,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hail-is:master","ref":"master","sha":"86dec9a9cb9b971595f2af4e56912cbbdd784dbd","user":{"login":"hail-is","id":20861792,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODYxNzky","avatar_url":"https://avatars1.githubusercontent.com/u/20861792?v=4","gravatar_id":"","url":"https://api.github.com/users/hail-is","html_url":"https://github.com/hail-is","followers_url":"https://api.github.com/users/hail-is/followers","following_url":"https://api.github.com/users/hail-is/following{/other_user}","gists_url":"https://api.github.com/users/hail-is/gists{/gist_id}","starred_url":"https://api.github.com/users/hail-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail-is/subscriptions","organizations_url":"https://api.github.com/users/hail-is/orgs","repos_url":"https://api.github.com/users/hail-is/repos","events_url":"https://api.github.com/users/hail-is/events{/privacy}","received_events_url":"https://api.github.com/users/hail-is/received_events","type":"Organization","site_admin":false},"repo":{"id":45069467,"node_id":"MDEwOlJlcG9zaXRvcnk0NTA2OTQ2Nw==","name":"hail","full_name":"hail-is/hail","private":false,"owner":{"login":"hail-is","id":20861792,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODYxNzky","avatar_url":"https://avatars1.githubusercontent.com/u/20861792?v=4","gravatar_id":"","url":"https://api.github.com/users/hail-is","html_url":"https://github.com/hail-is","followers_url":"https://api.github.com/users/hail-is/followers","following_url":"https://api.github.com/users/hail-is/following{/other_user}","gists_url":"https://api.github.com/users/hail-is/gists{/gist_id}","starred_url":"https://api.github.com/users/hail-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hail-is/subscriptions","organizations_url":"https://api.github.com/users/hail-is/orgs","repos_url":"https://api.github.com/users/hail-is/repos","events_url":"https://api.github.com/users/hail-is/events{/privacy}","received_events_url":"https://api.github.com/users/hail-is/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hail-is/hail","description":"Scalable genomic data analysis.","fork":false,"url":"https://api.github.com/repos/hail-is/hail","forks_url":"https://api.github.com/repos/hail-is/hail/forks","keys_url":"https://api.github.com/repos/hail-is/hail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hail-is/hail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hail-is/hail/teams","hooks_url":"https://api.github.com/repos/hail-is/hail/hooks","issue_events_url":"https://api.github.com/repos/hail-is/hail/issues/events{/number}","events_url":"https://api.github.com/repos/hail-is/hail/events","assignees_url":"https://api.github.com/repos/hail-is/hail/assignees{/user}","branches_url":"https://api.github.com/repos/hail-is/hail/branches{/branch}","tags_url":"https://api.github.com/repos/hail-is/hail/tags","blobs_url":"https://api.github.com/repos/hail-is/hail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hail-is/hail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hail-is/hail/git/refs{/sha}","trees_url":"https://api.github.com/repos/hail-is/hail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hail-is/hail/statuses/{sha}","languages_url":"https://api.github.com/repos/hail-is/hail/languages","stargazers_url":"https://api.github.com/repos/hail-is/hail/stargazers","contributors_url":"https://api.github.com/repos/hail-is/hail/contributors","subscribers_url":"https://api.github.com/repos/hail-is/hail/subscribers","subscription_url":"https://api.github.com/repos/hail-is/hail/subscription","commits_url":"https://api.github.com/repos/hail-is/hail/commits{/sha}","git_commits_url":"https://api.github.com/repos/hail-is/hail/git/commits{/sha}","comments_url":"https://api.github.com/repos/hail-is/hail/comments{/number}","issue_comment_url":"https://api.github.com/repos/hail-is/hail/issues/comments{/number}","contents_url":"https://api.github.com/repos/hail-is/hail/contents/{+path}","compare_url":"https://api.github.com/repos/hail-is/hail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hail-is/hail/merges","archive_url":"https://api.github.com/repos/hail-is/hail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hail-is/hail/downloads","issues_url":"https://api.github.com/repos/hail-is/hail/issues{/number}","pulls_url":"https://api.github.com/repos/hail-is/hail/pulls{/number}","milestones_url":"https://api.github.com/repos/hail-is/hail/milestones{/number}","notifications_url":"https://api.github.com/repos/hail-is/hail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hail-is/hail/labels{/name}","releases_url":"https://api.github.com/repos/hail-is/hail/releases{/id}","deployments_url":"https://api.github.com/repos/hail-is/hail/deployments","created_at":"2015-10-27T20:55:42Z","updated_at":"2018-12-20T15:35:48Z","pushed_at":"2018-12-20T16:29:02Z","git_url":"git://github.com/hail-is/hail.git","ssh_url":"git@github.com:hail-is/hail.git","clone_url":"https://github.com/hail-is/hail.git","svn_url":"https://github.com/hail-is/hail","homepage":"https://hail.is","size":58046,"stargazers_count":416,"watchers_count":416,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":117,"mirror_url":null,"archived":false,"open_issues_count":152,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":117,"open_issues":152,"watchers":416,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hail-is/hail/pulls/5021"},"html":{"href":"https://github.com/hail-is/hail/pull/5021"},"issue":{"href":"https://api.github.com/repos/hail-is/hail/issues/5021"},"comments":{"href":"https://api.github.com/repos/hail-is/hail/issues/5021/comments"},"review_comments":{"href":"https://api.github.com/repos/hail-is/hail/pulls/5021/comments"},"review_comment":{"href":"https://api.github.com/repos/hail-is/hail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hail-is/hail/pulls/5021/commits"},"statuses":{"href":"https://api.github.com/repos/hail-is/hail/statuses/5ac240be333f7ec1082684c52c4e1c4b7a71b57a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tpoterba"}}