{"action":"opened","number":530,"pull_request":{"url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530","id":351166854,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUxMTY2ODU0","html_url":"https://github.com/360EntSecGroup-Skylar/excelize/pull/530","diff_url":"https://github.com/360EntSecGroup-Skylar/excelize/pull/530.diff","patch_url":"https://github.com/360EntSecGroup-Skylar/excelize/pull/530.patch","issue_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/530","number":530,"state":"open","locked":false,"title":"Stream to Excel table","user":{"login":"chowey","id":991221,"node_id":"MDQ6VXNlcjk5MTIyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/991221?v=4","gravatar_id":"","url":"https://api.github.com/users/chowey","html_url":"https://github.com/chowey","followers_url":"https://api.github.com/users/chowey/followers","following_url":"https://api.github.com/users/chowey/following{/other_user}","gists_url":"https://api.github.com/users/chowey/gists{/gist_id}","starred_url":"https://api.github.com/users/chowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chowey/subscriptions","organizations_url":"https://api.github.com/users/chowey/orgs","repos_url":"https://api.github.com/users/chowey/repos","events_url":"https://api.github.com/users/chowey/events{/privacy}","received_events_url":"https://api.github.com/users/chowey/received_events","type":"User","site_admin":false},"body":"# PR Details\r\n\r\nThis slightly changes and enhances the StreamWriter API.\r\n\r\n## Description\r\n\r\nThis PR handles the following points:\r\n\r\n* Use any data type in the StreamWriter API while writing new rows\r\n* Provide styles for values in the StreamWriter API\r\n* Stream to an Excel table with the StreamWriter API\r\n\r\n## Related Issue\r\n\r\n#523\r\n\r\n## Motivation and Context\r\n\r\nThis morning I ran into an issue where very large Excel files were causing `excelize` to use all of my computer's RAM. I checked if there were any streaming APIs and sure enough, the StreamWriter API was merged this morning.\r\n\r\nThis handled my RAM issue but the new StreamWriter API has the above deficiencies.\r\n\r\nI realize I am slightly changing the StreamWriter API, but I think it is still early enough to do this.\r\n\r\nNow I can efficiently create large Excel tables with 160 columns and 200000 rows, including dates and formats, using less than 200MB of RAM. Before it was taking more than 20GB of RAM and then crashing.\r\n\r\n## How Has This Been Tested\r\n\r\nI ran the automated tests and tested against some production use cases.\r\n\r\n## Types of changes\r\n\r\n- [ ] Docs change / refactoring / dependency upgrade\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [x] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist\r\n\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have read the **CONTRIBUTING** document.\r\n- [ ] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.\r\n","created_at":"2019-12-10T02:25:00Z","updated_at":"2019-12-10T02:25:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530/commits","review_comments_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530/comments","review_comment_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/530/comments","statuses_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/statuses/2521892358464f04c48910aba387e783faa05847","head":{"label":"chowey:streamwriter","ref":"streamwriter","sha":"2521892358464f04c48910aba387e783faa05847","user":{"login":"chowey","id":991221,"node_id":"MDQ6VXNlcjk5MTIyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/991221?v=4","gravatar_id":"","url":"https://api.github.com/users/chowey","html_url":"https://github.com/chowey","followers_url":"https://api.github.com/users/chowey/followers","following_url":"https://api.github.com/users/chowey/following{/other_user}","gists_url":"https://api.github.com/users/chowey/gists{/gist_id}","starred_url":"https://api.github.com/users/chowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chowey/subscriptions","organizations_url":"https://api.github.com/users/chowey/orgs","repos_url":"https://api.github.com/users/chowey/repos","events_url":"https://api.github.com/users/chowey/events{/privacy}","received_events_url":"https://api.github.com/users/chowey/received_events","type":"User","site_admin":false},"repo":{"id":226952991,"node_id":"MDEwOlJlcG9zaXRvcnkyMjY5NTI5OTE=","name":"excelize","full_name":"chowey/excelize","private":false,"owner":{"login":"chowey","id":991221,"node_id":"MDQ6VXNlcjk5MTIyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/991221?v=4","gravatar_id":"","url":"https://api.github.com/users/chowey","html_url":"https://github.com/chowey","followers_url":"https://api.github.com/users/chowey/followers","following_url":"https://api.github.com/users/chowey/following{/other_user}","gists_url":"https://api.github.com/users/chowey/gists{/gist_id}","starred_url":"https://api.github.com/users/chowey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chowey/subscriptions","organizations_url":"https://api.github.com/users/chowey/orgs","repos_url":"https://api.github.com/users/chowey/repos","events_url":"https://api.github.com/users/chowey/events{/privacy}","received_events_url":"https://api.github.com/users/chowey/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chowey/excelize","description":"Golang library for reading and writing Microsoft Excel™ (XLSX) files.","fork":true,"url":"https://api.github.com/repos/chowey/excelize","forks_url":"https://api.github.com/repos/chowey/excelize/forks","keys_url":"https://api.github.com/repos/chowey/excelize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chowey/excelize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chowey/excelize/teams","hooks_url":"https://api.github.com/repos/chowey/excelize/hooks","issue_events_url":"https://api.github.com/repos/chowey/excelize/issues/events{/number}","events_url":"https://api.github.com/repos/chowey/excelize/events","assignees_url":"https://api.github.com/repos/chowey/excelize/assignees{/user}","branches_url":"https://api.github.com/repos/chowey/excelize/branches{/branch}","tags_url":"https://api.github.com/repos/chowey/excelize/tags","blobs_url":"https://api.github.com/repos/chowey/excelize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chowey/excelize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chowey/excelize/git/refs{/sha}","trees_url":"https://api.github.com/repos/chowey/excelize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chowey/excelize/statuses/{sha}","languages_url":"https://api.github.com/repos/chowey/excelize/languages","stargazers_url":"https://api.github.com/repos/chowey/excelize/stargazers","contributors_url":"https://api.github.com/repos/chowey/excelize/contributors","subscribers_url":"https://api.github.com/repos/chowey/excelize/subscribers","subscription_url":"https://api.github.com/repos/chowey/excelize/subscription","commits_url":"https://api.github.com/repos/chowey/excelize/commits{/sha}","git_commits_url":"https://api.github.com/repos/chowey/excelize/git/commits{/sha}","comments_url":"https://api.github.com/repos/chowey/excelize/comments{/number}","issue_comment_url":"https://api.github.com/repos/chowey/excelize/issues/comments{/number}","contents_url":"https://api.github.com/repos/chowey/excelize/contents/{+path}","compare_url":"https://api.github.com/repos/chowey/excelize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chowey/excelize/merges","archive_url":"https://api.github.com/repos/chowey/excelize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chowey/excelize/downloads","issues_url":"https://api.github.com/repos/chowey/excelize/issues{/number}","pulls_url":"https://api.github.com/repos/chowey/excelize/pulls{/number}","milestones_url":"https://api.github.com/repos/chowey/excelize/milestones{/number}","notifications_url":"https://api.github.com/repos/chowey/excelize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chowey/excelize/labels{/name}","releases_url":"https://api.github.com/repos/chowey/excelize/releases{/id}","deployments_url":"https://api.github.com/repos/chowey/excelize/deployments","created_at":"2019-12-09T19:42:06Z","updated_at":"2019-12-09T19:42:08Z","pushed_at":"2019-12-10T02:09:28Z","git_url":"git://github.com/chowey/excelize.git","ssh_url":"git@github.com:chowey/excelize.git","clone_url":"https://github.com/chowey/excelize.git","svn_url":"https://github.com/chowey/excelize","homepage":"","size":2553,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"360EntSecGroup-Skylar:master","ref":"master","sha":"08d1a86c3a1bffdf431dba6a3d5a3b369ef740a7","user":{"login":"360EntSecGroup-Skylar","id":29733149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzMzMTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/29733149?v=4","gravatar_id":"","url":"https://api.github.com/users/360EntSecGroup-Skylar","html_url":"https://github.com/360EntSecGroup-Skylar","followers_url":"https://api.github.com/users/360EntSecGroup-Skylar/followers","following_url":"https://api.github.com/users/360EntSecGroup-Skylar/following{/other_user}","gists_url":"https://api.github.com/users/360EntSecGroup-Skylar/gists{/gist_id}","starred_url":"https://api.github.com/users/360EntSecGroup-Skylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/360EntSecGroup-Skylar/subscriptions","organizations_url":"https://api.github.com/users/360EntSecGroup-Skylar/orgs","repos_url":"https://api.github.com/users/360EntSecGroup-Skylar/repos","events_url":"https://api.github.com/users/360EntSecGroup-Skylar/events{/privacy}","received_events_url":"https://api.github.com/users/360EntSecGroup-Skylar/received_events","type":"Organization","site_admin":false},"repo":{"id":66841911,"node_id":"MDEwOlJlcG9zaXRvcnk2Njg0MTkxMQ==","name":"excelize","full_name":"360EntSecGroup-Skylar/excelize","private":false,"owner":{"login":"360EntSecGroup-Skylar","id":29733149,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzMzMTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/29733149?v=4","gravatar_id":"","url":"https://api.github.com/users/360EntSecGroup-Skylar","html_url":"https://github.com/360EntSecGroup-Skylar","followers_url":"https://api.github.com/users/360EntSecGroup-Skylar/followers","following_url":"https://api.github.com/users/360EntSecGroup-Skylar/following{/other_user}","gists_url":"https://api.github.com/users/360EntSecGroup-Skylar/gists{/gist_id}","starred_url":"https://api.github.com/users/360EntSecGroup-Skylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/360EntSecGroup-Skylar/subscriptions","organizations_url":"https://api.github.com/users/360EntSecGroup-Skylar/orgs","repos_url":"https://api.github.com/users/360EntSecGroup-Skylar/repos","events_url":"https://api.github.com/users/360EntSecGroup-Skylar/events{/privacy}","received_events_url":"https://api.github.com/users/360EntSecGroup-Skylar/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/360EntSecGroup-Skylar/excelize","description":"Golang library for reading and writing Microsoft Excel™ (XLSX) files.","fork":false,"url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize","forks_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/forks","keys_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/teams","hooks_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/hooks","issue_events_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/events{/number}","events_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/events","assignees_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/assignees{/user}","branches_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/branches{/branch}","tags_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/tags","blobs_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/git/refs{/sha}","trees_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/statuses/{sha}","languages_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/languages","stargazers_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/stargazers","contributors_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/contributors","subscribers_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/subscribers","subscription_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/subscription","commits_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/commits{/sha}","git_commits_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/git/commits{/sha}","comments_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/comments{/number}","issue_comment_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/comments{/number}","contents_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/contents/{+path}","compare_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/merges","archive_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/downloads","issues_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues{/number}","pulls_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls{/number}","milestones_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/milestones{/number}","notifications_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/labels{/name}","releases_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/releases{/id}","deployments_url":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/deployments","created_at":"2016-08-29T12:32:12Z","updated_at":"2019-12-10T01:49:41Z","pushed_at":"2019-12-09T16:16:21Z","git_url":"git://github.com/360EntSecGroup-Skylar/excelize.git","ssh_url":"git@github.com:360EntSecGroup-Skylar/excelize.git","clone_url":"https://github.com/360EntSecGroup-Skylar/excelize.git","svn_url":"https://github.com/360EntSecGroup-Skylar/excelize","homepage":"","size":2547,"stargazers_count":5084,"watchers_count":5084,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":556,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":101,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":556,"open_issues":101,"watchers":5084,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530"},"html":{"href":"https://github.com/360EntSecGroup-Skylar/excelize/pull/530"},"issue":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/530"},"comments":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/issues/530/comments"},"review_comments":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530/comments"},"review_comment":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/pulls/530/commits"},"statuses":{"href":"https://api.github.com/repos/360EntSecGroup-Skylar/excelize/statuses/2521892358464f04c48910aba387e783faa05847"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":269,"deletions":81,"changed_files":3}}
{"actor":{"display_login":"chowey"}}