{"action":"created","issue":{"url":"https://api.github.com/repos/dask/dask/issues/4013","repository_url":"https://api.github.com/repos/dask/dask","labels_url":"https://api.github.com/repos/dask/dask/issues/4013/labels{/name}","comments_url":"https://api.github.com/repos/dask/dask/issues/4013/comments","events_url":"https://api.github.com/repos/dask/dask/issues/4013/events","html_url":"https://github.com/dask/dask/pull/4013","id":363735008,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDk1MDA4","number":4013,"title":"Improve performance of bag.read_text on small files","user":{"login":"epall","id":11366,"node_id":"MDQ6VXNlcjExMzY2","avatar_url":"https://avatars3.githubusercontent.com/u/11366?v=4","gravatar_id":"","url":"https://api.github.com/users/epall","html_url":"https://github.com/epall","followers_url":"https://api.github.com/users/epall/followers","following_url":"https://api.github.com/users/epall/following{/other_user}","gists_url":"https://api.github.com/users/epall/gists{/gist_id}","starred_url":"https://api.github.com/users/epall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epall/subscriptions","organizations_url":"https://api.github.com/users/epall/orgs","repos_url":"https://api.github.com/users/epall/repos","events_url":"https://api.github.com/users/epall/events{/privacy}","received_events_url":"https://api.github.com/users/epall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T19:37:39Z","updated_at":"2018-09-27T21:01:22Z","closed_at":"2018-09-27T21:00:21Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dask/dask/pulls/4013","html_url":"https://github.com/dask/dask/pull/4013","diff_url":"https://github.com/dask/dask/pull/4013.diff","patch_url":"https://github.com/dask/dask/pull/4013.patch"},"body":"Adding a new optional parameter to `bag.read_text()`, called `files_per_partition`, gives users the option to group files into fewer partitions than one per file. This can dramatically improve performance on large numbers of small files by reducing the complexity of the graph and increasing the duration of read partition operations.\r\n\r\nFixes #4012 \r\n\r\n- [ x ] Tests added / passed\r\n- [ x ] Passes `flake8 dask`\r\n"},"comment":{"url":"https://api.github.com/repos/dask/dask/issues/comments/425241814","html_url":"https://github.com/dask/dask/pull/4013#issuecomment-425241814","issue_url":"https://api.github.com/repos/dask/dask/issues/4013","id":425241814,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI0MTgxNA==","user":{"login":"mrocklin","id":306380,"node_id":"MDQ6VXNlcjMwNjM4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/306380?v=4","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T21:01:22Z","updated_at":"2018-09-27T21:01:22Z","author_association":"MEMBER","body":"This looks good to me.  Thank you @epall for the fix.\r\n\r\nAlso, I see that this is your first code contribution to this repository.  Welcome!  It was a pleasure working with you."}}
{"actor":{"display_login":"mrocklin"}}