{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17","id":75034801,"html_url":"https://github.com/mozilla-services/push_derived/pull/17","diff_url":"https://github.com/mozilla-services/push_derived/pull/17.diff","patch_url":"https://github.com/mozilla-services/push_derived/pull/17.patch","issue_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/17","number":17,"state":"closed","locked":false,"title":"bug: avoid overwriting without suitable window precedent","user":{"login":"bbangert","id":100193,"avatar_url":"https://avatars.githubusercontent.com/u/100193?v=3","gravatar_id":"","url":"https://api.github.com/users/bbangert","html_url":"https://github.com/bbangert","followers_url":"https://api.github.com/users/bbangert/followers","following_url":"https://api.github.com/users/bbangert/following{/other_user}","gists_url":"https://api.github.com/users/bbangert/gists{/gist_id}","starred_url":"https://api.github.com/users/bbangert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbangert/subscriptions","organizations_url":"https://api.github.com/users/bbangert/orgs","repos_url":"https://api.github.com/users/bbangert/repos","events_url":"https://api.github.com/users/bbangert/events{/privacy}","received_events_url":"https://api.github.com/users/bbangert/received_events","type":"User","site_admin":false},"body":"Overwriting the DAU/MAU values with new ones with insufficient\r\nleading values results in proper window averages not being\r\nrecorded after time. This remedies that by skipping the added\r\npreceeding rows in the update.\r\n\r\n@rafrombrc r?","created_at":"2016-06-23T22:00:59Z","updated_at":"2016-06-23T22:35:44Z","closed_at":"2016-06-23T22:35:44Z","merged_at":"2016-06-23T22:35:44Z","merge_commit_sha":"35804fd4dfba7a4595e64839535ff97499a1b9c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17/commits","review_comments_url":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17/comments","review_comment_url":"https://api.github.com/repos/mozilla-services/push_derived/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/17/comments","statuses_url":"https://api.github.com/repos/mozilla-services/push_derived/statuses/10217e7b6ba50f965f00ffd78c4064566a0ddfe5","head":{"label":"mozilla-services:bug/avoid_overwriting_too_recent","ref":"bug/avoid_overwriting_too_recent","sha":"10217e7b6ba50f965f00ffd78c4064566a0ddfe5","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":47145706,"name":"push_derived","full_name":"mozilla-services/push_derived","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/push_derived","description":"Generates Redshift derived streams and rollup tables from Mozilla Push server logs.","fork":false,"url":"https://api.github.com/repos/mozilla-services/push_derived","forks_url":"https://api.github.com/repos/mozilla-services/push_derived/forks","keys_url":"https://api.github.com/repos/mozilla-services/push_derived/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/push_derived/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/push_derived/teams","hooks_url":"https://api.github.com/repos/mozilla-services/push_derived/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/push_derived/events","assignees_url":"https://api.github.com/repos/mozilla-services/push_derived/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/push_derived/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/push_derived/tags","blobs_url":"https://api.github.com/repos/mozilla-services/push_derived/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/push_derived/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/push_derived/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/push_derived/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/push_derived/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/push_derived/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/push_derived/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/push_derived/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/push_derived/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/push_derived/subscription","commits_url":"https://api.github.com/repos/mozilla-services/push_derived/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/push_derived/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/push_derived/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/push_derived/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/push_derived/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/push_derived/merges","archive_url":"https://api.github.com/repos/mozilla-services/push_derived/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/push_derived/downloads","issues_url":"https://api.github.com/repos/mozilla-services/push_derived/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/push_derived/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/push_derived/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/push_derived/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/push_derived/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/push_derived/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/push_derived/deployments","created_at":"2015-11-30T20:59:20Z","updated_at":"2016-04-27T21:05:23Z","pushed_at":"2016-06-23T22:35:44Z","git_url":"git://github.com/mozilla-services/push_derived.git","ssh_url":"git@github.com:mozilla-services/push_derived.git","clone_url":"https://github.com/mozilla-services/push_derived.git","svn_url":"https://github.com/mozilla-services/push_derived","homepage":"","size":1900,"stargazers_count":1,"watchers_count":1,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla-services:master","ref":"master","sha":"3d4025a82fa44cbd32ea9e96d78bb6918c3d92a8","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":47145706,"name":"push_derived","full_name":"mozilla-services/push_derived","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/push_derived","description":"Generates Redshift derived streams and rollup tables from Mozilla Push server logs.","fork":false,"url":"https://api.github.com/repos/mozilla-services/push_derived","forks_url":"https://api.github.com/repos/mozilla-services/push_derived/forks","keys_url":"https://api.github.com/repos/mozilla-services/push_derived/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/push_derived/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/push_derived/teams","hooks_url":"https://api.github.com/repos/mozilla-services/push_derived/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/push_derived/events","assignees_url":"https://api.github.com/repos/mozilla-services/push_derived/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/push_derived/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/push_derived/tags","blobs_url":"https://api.github.com/repos/mozilla-services/push_derived/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/push_derived/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/push_derived/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/push_derived/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/push_derived/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/push_derived/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/push_derived/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/push_derived/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/push_derived/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/push_derived/subscription","commits_url":"https://api.github.com/repos/mozilla-services/push_derived/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/push_derived/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/push_derived/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/push_derived/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-services/push_derived/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/push_derived/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/push_derived/merges","archive_url":"https://api.github.com/repos/mozilla-services/push_derived/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/push_derived/downloads","issues_url":"https://api.github.com/repos/mozilla-services/push_derived/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/push_derived/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/push_derived/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/push_derived/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/push_derived/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/push_derived/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-services/push_derived/deployments","created_at":"2015-11-30T20:59:20Z","updated_at":"2016-04-27T21:05:23Z","pushed_at":"2016-06-23T22:35:44Z","git_url":"git://github.com/mozilla-services/push_derived.git","ssh_url":"git@github.com:mozilla-services/push_derived.git","clone_url":"https://github.com/mozilla-services/push_derived.git","svn_url":"https://github.com/mozilla-services/push_derived","homepage":"","size":1900,"stargazers_count":1,"watchers_count":1,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17"},"html":{"href":"https://github.com/mozilla-services/push_derived/pull/17"},"issue":{"href":"https://api.github.com/repos/mozilla-services/push_derived/issues/17"},"comments":{"href":"https://api.github.com/repos/mozilla-services/push_derived/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-services/push_derived/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-services/push_derived/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-services/push_derived/statuses/10217e7b6ba50f965f00ffd78c4064566a0ddfe5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rafrombrc","id":151364,"avatar_url":"https://avatars.githubusercontent.com/u/151364?v=3","gravatar_id":"","url":"https://api.github.com/users/rafrombrc","html_url":"https://github.com/rafrombrc","followers_url":"https://api.github.com/users/rafrombrc/followers","following_url":"https://api.github.com/users/rafrombrc/following{/other_user}","gists_url":"https://api.github.com/users/rafrombrc/gists{/gist_id}","starred_url":"https://api.github.com/users/rafrombrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafrombrc/subscriptions","organizations_url":"https://api.github.com/users/rafrombrc/orgs","repos_url":"https://api.github.com/users/rafrombrc/repos","events_url":"https://api.github.com/users/rafrombrc/events{/privacy}","received_events_url":"https://api.github.com/users/rafrombrc/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"rafrombrc"}}