{"action":"closed","number":126,"pull_request":{"url":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126","id":68675158,"html_url":"https://github.com/HiSPARC/sapphire/pull/126","diff_url":"https://github.com/HiSPARC/sapphire/pull/126.diff","patch_url":"https://github.com/HiSPARC/sapphire/pull/126.patch","issue_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/126","number":126,"state":"closed","locked":false,"title":"Improve publicdb.download_data","user":{"login":"153957","id":1433682,"avatar_url":"https://avatars.githubusercontent.com/u/1433682?v=3","gravatar_id":"","url":"https://api.github.com/users/153957","html_url":"https://github.com/153957","followers_url":"https://api.github.com/users/153957/followers","following_url":"https://api.github.com/users/153957/following{/other_user}","gists_url":"https://api.github.com/users/153957/gists{/gist_id}","starred_url":"https://api.github.com/users/153957/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/153957/subscriptions","organizations_url":"https://api.github.com/users/153957/orgs","repos_url":"https://api.github.com/users/153957/repos","events_url":"https://api.github.com/users/153957/events{/privacy}","received_events_url":"https://api.github.com/users/153957/received_events","type":"User","site_admin":false},"body":"- [x] Add support for new tables, which also have blobs.\r\n- [x] Filter each table with timestamp column by timestamp.\r\n- [x] Append multiple rows at once instead of one at a time. (This results in a big speed up!)\r\n- [x] Open temporary source data in read mode.\r\n- [x] Add test with actual data. (I tested that the function gives the same result as before.)\r\n","created_at":"2016-05-03T08:52:24Z","updated_at":"2016-05-07T13:03:18Z","closed_at":"2016-05-07T13:03:18Z","merged_at":"2016-05-07T13:03:18Z","merge_commit_sha":"ce8d46029d224745427ad6a93a96b3cddff1393a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126/commits","review_comments_url":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126/comments","review_comment_url":"https://api.github.com/repos/HiSPARC/sapphire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/126/comments","statuses_url":"https://api.github.com/repos/HiSPARC/sapphire/statuses/9dc9053f288367f67473018d2ee4dc8be8ff5455","head":{"label":"HiSPARC:raw_data","ref":"raw_data","sha":"9dc9053f288367f67473018d2ee4dc8be8ff5455","user":{"login":"HiSPARC","id":1443119,"avatar_url":"https://avatars.githubusercontent.com/u/1443119?v=3","gravatar_id":"","url":"https://api.github.com/users/HiSPARC","html_url":"https://github.com/HiSPARC","followers_url":"https://api.github.com/users/HiSPARC/followers","following_url":"https://api.github.com/users/HiSPARC/following{/other_user}","gists_url":"https://api.github.com/users/HiSPARC/gists{/gist_id}","starred_url":"https://api.github.com/users/HiSPARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiSPARC/subscriptions","organizations_url":"https://api.github.com/users/HiSPARC/orgs","repos_url":"https://api.github.com/users/HiSPARC/repos","events_url":"https://api.github.com/users/HiSPARC/events{/privacy}","received_events_url":"https://api.github.com/users/HiSPARC/received_events","type":"Organization","site_admin":false},"repo":{"id":6762869,"name":"sapphire","full_name":"HiSPARC/sapphire","owner":{"login":"HiSPARC","id":1443119,"avatar_url":"https://avatars.githubusercontent.com/u/1443119?v=3","gravatar_id":"","url":"https://api.github.com/users/HiSPARC","html_url":"https://github.com/HiSPARC","followers_url":"https://api.github.com/users/HiSPARC/followers","following_url":"https://api.github.com/users/HiSPARC/following{/other_user}","gists_url":"https://api.github.com/users/HiSPARC/gists{/gist_id}","starred_url":"https://api.github.com/users/HiSPARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiSPARC/subscriptions","organizations_url":"https://api.github.com/users/HiSPARC/orgs","repos_url":"https://api.github.com/users/HiSPARC/repos","events_url":"https://api.github.com/users/HiSPARC/events{/privacy}","received_events_url":"https://api.github.com/users/HiSPARC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HiSPARC/sapphire","description":"SAPPHiRE, a framework for HiSPARC","fork":false,"url":"https://api.github.com/repos/HiSPARC/sapphire","forks_url":"https://api.github.com/repos/HiSPARC/sapphire/forks","keys_url":"https://api.github.com/repos/HiSPARC/sapphire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HiSPARC/sapphire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HiSPARC/sapphire/teams","hooks_url":"https://api.github.com/repos/HiSPARC/sapphire/hooks","issue_events_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/events{/number}","events_url":"https://api.github.com/repos/HiSPARC/sapphire/events","assignees_url":"https://api.github.com/repos/HiSPARC/sapphire/assignees{/user}","branches_url":"https://api.github.com/repos/HiSPARC/sapphire/branches{/branch}","tags_url":"https://api.github.com/repos/HiSPARC/sapphire/tags","blobs_url":"https://api.github.com/repos/HiSPARC/sapphire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HiSPARC/sapphire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HiSPARC/sapphire/git/refs{/sha}","trees_url":"https://api.github.com/repos/HiSPARC/sapphire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HiSPARC/sapphire/statuses/{sha}","languages_url":"https://api.github.com/repos/HiSPARC/sapphire/languages","stargazers_url":"https://api.github.com/repos/HiSPARC/sapphire/stargazers","contributors_url":"https://api.github.com/repos/HiSPARC/sapphire/contributors","subscribers_url":"https://api.github.com/repos/HiSPARC/sapphire/subscribers","subscription_url":"https://api.github.com/repos/HiSPARC/sapphire/subscription","commits_url":"https://api.github.com/repos/HiSPARC/sapphire/commits{/sha}","git_commits_url":"https://api.github.com/repos/HiSPARC/sapphire/git/commits{/sha}","comments_url":"https://api.github.com/repos/HiSPARC/sapphire/comments{/number}","issue_comment_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/comments{/number}","contents_url":"https://api.github.com/repos/HiSPARC/sapphire/contents/{+path}","compare_url":"https://api.github.com/repos/HiSPARC/sapphire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HiSPARC/sapphire/merges","archive_url":"https://api.github.com/repos/HiSPARC/sapphire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HiSPARC/sapphire/downloads","issues_url":"https://api.github.com/repos/HiSPARC/sapphire/issues{/number}","pulls_url":"https://api.github.com/repos/HiSPARC/sapphire/pulls{/number}","milestones_url":"https://api.github.com/repos/HiSPARC/sapphire/milestones{/number}","notifications_url":"https://api.github.com/repos/HiSPARC/sapphire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HiSPARC/sapphire/labels{/name}","releases_url":"https://api.github.com/repos/HiSPARC/sapphire/releases{/id}","deployments_url":"https://api.github.com/repos/HiSPARC/sapphire/deployments","created_at":"2012-11-19T15:53:30Z","updated_at":"2016-03-08T16:53:53Z","pushed_at":"2016-05-07T13:03:18Z","git_url":"git://github.com/HiSPARC/sapphire.git","ssh_url":"git@github.com:HiSPARC/sapphire.git","clone_url":"https://github.com/HiSPARC/sapphire.git","svn_url":"https://github.com/HiSPARC/sapphire","homepage":"http://docs.hisparc.nl/sapphire/","size":17040,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":4,"default_branch":"master"}},"base":{"label":"HiSPARC:master","ref":"master","sha":"4a47e973ad7ca7731bd4da0c9d5eeca7cc4d7012","user":{"login":"HiSPARC","id":1443119,"avatar_url":"https://avatars.githubusercontent.com/u/1443119?v=3","gravatar_id":"","url":"https://api.github.com/users/HiSPARC","html_url":"https://github.com/HiSPARC","followers_url":"https://api.github.com/users/HiSPARC/followers","following_url":"https://api.github.com/users/HiSPARC/following{/other_user}","gists_url":"https://api.github.com/users/HiSPARC/gists{/gist_id}","starred_url":"https://api.github.com/users/HiSPARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiSPARC/subscriptions","organizations_url":"https://api.github.com/users/HiSPARC/orgs","repos_url":"https://api.github.com/users/HiSPARC/repos","events_url":"https://api.github.com/users/HiSPARC/events{/privacy}","received_events_url":"https://api.github.com/users/HiSPARC/received_events","type":"Organization","site_admin":false},"repo":{"id":6762869,"name":"sapphire","full_name":"HiSPARC/sapphire","owner":{"login":"HiSPARC","id":1443119,"avatar_url":"https://avatars.githubusercontent.com/u/1443119?v=3","gravatar_id":"","url":"https://api.github.com/users/HiSPARC","html_url":"https://github.com/HiSPARC","followers_url":"https://api.github.com/users/HiSPARC/followers","following_url":"https://api.github.com/users/HiSPARC/following{/other_user}","gists_url":"https://api.github.com/users/HiSPARC/gists{/gist_id}","starred_url":"https://api.github.com/users/HiSPARC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiSPARC/subscriptions","organizations_url":"https://api.github.com/users/HiSPARC/orgs","repos_url":"https://api.github.com/users/HiSPARC/repos","events_url":"https://api.github.com/users/HiSPARC/events{/privacy}","received_events_url":"https://api.github.com/users/HiSPARC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HiSPARC/sapphire","description":"SAPPHiRE, a framework for HiSPARC","fork":false,"url":"https://api.github.com/repos/HiSPARC/sapphire","forks_url":"https://api.github.com/repos/HiSPARC/sapphire/forks","keys_url":"https://api.github.com/repos/HiSPARC/sapphire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HiSPARC/sapphire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HiSPARC/sapphire/teams","hooks_url":"https://api.github.com/repos/HiSPARC/sapphire/hooks","issue_events_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/events{/number}","events_url":"https://api.github.com/repos/HiSPARC/sapphire/events","assignees_url":"https://api.github.com/repos/HiSPARC/sapphire/assignees{/user}","branches_url":"https://api.github.com/repos/HiSPARC/sapphire/branches{/branch}","tags_url":"https://api.github.com/repos/HiSPARC/sapphire/tags","blobs_url":"https://api.github.com/repos/HiSPARC/sapphire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HiSPARC/sapphire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HiSPARC/sapphire/git/refs{/sha}","trees_url":"https://api.github.com/repos/HiSPARC/sapphire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HiSPARC/sapphire/statuses/{sha}","languages_url":"https://api.github.com/repos/HiSPARC/sapphire/languages","stargazers_url":"https://api.github.com/repos/HiSPARC/sapphire/stargazers","contributors_url":"https://api.github.com/repos/HiSPARC/sapphire/contributors","subscribers_url":"https://api.github.com/repos/HiSPARC/sapphire/subscribers","subscription_url":"https://api.github.com/repos/HiSPARC/sapphire/subscription","commits_url":"https://api.github.com/repos/HiSPARC/sapphire/commits{/sha}","git_commits_url":"https://api.github.com/repos/HiSPARC/sapphire/git/commits{/sha}","comments_url":"https://api.github.com/repos/HiSPARC/sapphire/comments{/number}","issue_comment_url":"https://api.github.com/repos/HiSPARC/sapphire/issues/comments{/number}","contents_url":"https://api.github.com/repos/HiSPARC/sapphire/contents/{+path}","compare_url":"https://api.github.com/repos/HiSPARC/sapphire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HiSPARC/sapphire/merges","archive_url":"https://api.github.com/repos/HiSPARC/sapphire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HiSPARC/sapphire/downloads","issues_url":"https://api.github.com/repos/HiSPARC/sapphire/issues{/number}","pulls_url":"https://api.github.com/repos/HiSPARC/sapphire/pulls{/number}","milestones_url":"https://api.github.com/repos/HiSPARC/sapphire/milestones{/number}","notifications_url":"https://api.github.com/repos/HiSPARC/sapphire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HiSPARC/sapphire/labels{/name}","releases_url":"https://api.github.com/repos/HiSPARC/sapphire/releases{/id}","deployments_url":"https://api.github.com/repos/HiSPARC/sapphire/deployments","created_at":"2012-11-19T15:53:30Z","updated_at":"2016-03-08T16:53:53Z","pushed_at":"2016-05-07T13:03:18Z","git_url":"git://github.com/HiSPARC/sapphire.git","ssh_url":"git@github.com:HiSPARC/sapphire.git","clone_url":"https://github.com/HiSPARC/sapphire.git","svn_url":"https://github.com/HiSPARC/sapphire","homepage":"http://docs.hisparc.nl/sapphire/","size":17040,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126"},"html":{"href":"https://github.com/HiSPARC/sapphire/pull/126"},"issue":{"href":"https://api.github.com/repos/HiSPARC/sapphire/issues/126"},"comments":{"href":"https://api.github.com/repos/HiSPARC/sapphire/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/HiSPARC/sapphire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HiSPARC/sapphire/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/HiSPARC/sapphire/statuses/9dc9053f288367f67473018d2ee4dc8be8ff5455"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"153957","id":1433682,"avatar_url":"https://avatars.githubusercontent.com/u/1433682?v=3","gravatar_id":"","url":"https://api.github.com/users/153957","html_url":"https://github.com/153957","followers_url":"https://api.github.com/users/153957/followers","following_url":"https://api.github.com/users/153957/following{/other_user}","gists_url":"https://api.github.com/users/153957/gists{/gist_id}","starred_url":"https://api.github.com/users/153957/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/153957/subscriptions","organizations_url":"https://api.github.com/users/153957/orgs","repos_url":"https://api.github.com/users/153957/repos","events_url":"https://api.github.com/users/153957/events{/privacy}","received_events_url":"https://api.github.com/users/153957/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":111,"deletions":39,"changed_files":6}}