{"action":"closed","number":429,"pull_request":{"url":"https://api.github.com/repos/airbnb/caravel/pulls/429","id":68720134,"html_url":"https://github.com/airbnb/caravel/pull/429","diff_url":"https://github.com/airbnb/caravel/pull/429.diff","patch_url":"https://github.com/airbnb/caravel/pull/429.patch","issue_url":"https://api.github.com/repos/airbnb/caravel/issues/429","number":429,"state":"closed","locked":false,"title":"Add additional postgres and redshift time grains","user":{"login":"itajaja","id":697647,"avatar_url":"https://avatars.githubusercontent.com/u/697647?v=3","gravatar_id":"","url":"https://api.github.com/users/itajaja","html_url":"https://github.com/itajaja","followers_url":"https://api.github.com/users/itajaja/followers","following_url":"https://api.github.com/users/itajaja/following{/other_user}","gists_url":"https://api.github.com/users/itajaja/gists{/gist_id}","starred_url":"https://api.github.com/users/itajaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itajaja/subscriptions","organizations_url":"https://api.github.com/users/itajaja/orgs","repos_url":"https://api.github.com/users/itajaja/repos","events_url":"https://api.github.com/users/itajaja/events{/privacy}","received_events_url":"https://api.github.com/users/itajaja/received_events","type":"User","site_admin":false},"body":"redshift docs: http://docs.aws.amazon.com/redshift/latest/dg/r_Dateparts_for_datetime_functions.html\r\npostgres docs: http://www.postgresql.org/docs/9.1/static/functions-datetime.html\r\n\r\nNot sure if it's sensible to test this. \r\n\"I tried it and it works\" gave 100% coverage for this :D","created_at":"2016-05-03T15:01:28Z","updated_at":"2016-05-03T19:44:43Z","closed_at":"2016-05-03T19:44:42Z","merged_at":"2016-05-03T19:44:42Z","merge_commit_sha":"9a08c45e593cd3c25cea8814d02377fde85b3747","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/airbnb/caravel/pulls/429/commits","review_comments_url":"https://api.github.com/repos/airbnb/caravel/pulls/429/comments","review_comment_url":"https://api.github.com/repos/airbnb/caravel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airbnb/caravel/issues/429/comments","statuses_url":"https://api.github.com/repos/airbnb/caravel/statuses/0d44bd92610c61b38c02330a20359c2c29f941e1","head":{"label":"itajaja:additional-pg-grains","ref":"additional-pg-grains","sha":"0d44bd92610c61b38c02330a20359c2c29f941e1","user":{"login":"itajaja","id":697647,"avatar_url":"https://avatars.githubusercontent.com/u/697647?v=3","gravatar_id":"","url":"https://api.github.com/users/itajaja","html_url":"https://github.com/itajaja","followers_url":"https://api.github.com/users/itajaja/followers","following_url":"https://api.github.com/users/itajaja/following{/other_user}","gists_url":"https://api.github.com/users/itajaja/gists{/gist_id}","starred_url":"https://api.github.com/users/itajaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itajaja/subscriptions","organizations_url":"https://api.github.com/users/itajaja/orgs","repos_url":"https://api.github.com/users/itajaja/repos","events_url":"https://api.github.com/users/itajaja/events{/privacy}","received_events_url":"https://api.github.com/users/itajaja/received_events","type":"User","site_admin":false},"repo":{"id":57976734,"name":"caravel","full_name":"itajaja/caravel","owner":{"login":"itajaja","id":697647,"avatar_url":"https://avatars.githubusercontent.com/u/697647?v=3","gravatar_id":"","url":"https://api.github.com/users/itajaja","html_url":"https://github.com/itajaja","followers_url":"https://api.github.com/users/itajaja/followers","following_url":"https://api.github.com/users/itajaja/following{/other_user}","gists_url":"https://api.github.com/users/itajaja/gists{/gist_id}","starred_url":"https://api.github.com/users/itajaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itajaja/subscriptions","organizations_url":"https://api.github.com/users/itajaja/orgs","repos_url":"https://api.github.com/users/itajaja/repos","events_url":"https://api.github.com/users/itajaja/events{/privacy}","received_events_url":"https://api.github.com/users/itajaja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itajaja/caravel","description":"Caravel is a data exploration platform designed to be visual, intuitive, and interactive","fork":true,"url":"https://api.github.com/repos/itajaja/caravel","forks_url":"https://api.github.com/repos/itajaja/caravel/forks","keys_url":"https://api.github.com/repos/itajaja/caravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itajaja/caravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itajaja/caravel/teams","hooks_url":"https://api.github.com/repos/itajaja/caravel/hooks","issue_events_url":"https://api.github.com/repos/itajaja/caravel/issues/events{/number}","events_url":"https://api.github.com/repos/itajaja/caravel/events","assignees_url":"https://api.github.com/repos/itajaja/caravel/assignees{/user}","branches_url":"https://api.github.com/repos/itajaja/caravel/branches{/branch}","tags_url":"https://api.github.com/repos/itajaja/caravel/tags","blobs_url":"https://api.github.com/repos/itajaja/caravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itajaja/caravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itajaja/caravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/itajaja/caravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itajaja/caravel/statuses/{sha}","languages_url":"https://api.github.com/repos/itajaja/caravel/languages","stargazers_url":"https://api.github.com/repos/itajaja/caravel/stargazers","contributors_url":"https://api.github.com/repos/itajaja/caravel/contributors","subscribers_url":"https://api.github.com/repos/itajaja/caravel/subscribers","subscription_url":"https://api.github.com/repos/itajaja/caravel/subscription","commits_url":"https://api.github.com/repos/itajaja/caravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/itajaja/caravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/itajaja/caravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/itajaja/caravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/itajaja/caravel/contents/{+path}","compare_url":"https://api.github.com/repos/itajaja/caravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itajaja/caravel/merges","archive_url":"https://api.github.com/repos/itajaja/caravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itajaja/caravel/downloads","issues_url":"https://api.github.com/repos/itajaja/caravel/issues{/number}","pulls_url":"https://api.github.com/repos/itajaja/caravel/pulls{/number}","milestones_url":"https://api.github.com/repos/itajaja/caravel/milestones{/number}","notifications_url":"https://api.github.com/repos/itajaja/caravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itajaja/caravel/labels{/name}","releases_url":"https://api.github.com/repos/itajaja/caravel/releases{/id}","deployments_url":"https://api.github.com/repos/itajaja/caravel/deployments","created_at":"2016-05-03T14:44:10Z","updated_at":"2016-05-03T14:44:11Z","pushed_at":"2016-05-03T14:57:36Z","git_url":"git://github.com/itajaja/caravel.git","ssh_url":"git@github.com:itajaja/caravel.git","clone_url":"https://github.com/itajaja/caravel.git","svn_url":"https://github.com/itajaja/caravel","homepage":"","size":33083,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"airbnb:master","ref":"master","sha":"88c9516e20bbfd1f5fb9ec478cc9a1624f6eed33","user":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"repo":{"id":39464018,"name":"caravel","full_name":"airbnb/caravel","owner":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbnb/caravel","description":"Caravel is a data exploration platform designed to be visual, intuitive, and interactive","fork":false,"url":"https://api.github.com/repos/airbnb/caravel","forks_url":"https://api.github.com/repos/airbnb/caravel/forks","keys_url":"https://api.github.com/repos/airbnb/caravel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbnb/caravel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbnb/caravel/teams","hooks_url":"https://api.github.com/repos/airbnb/caravel/hooks","issue_events_url":"https://api.github.com/repos/airbnb/caravel/issues/events{/number}","events_url":"https://api.github.com/repos/airbnb/caravel/events","assignees_url":"https://api.github.com/repos/airbnb/caravel/assignees{/user}","branches_url":"https://api.github.com/repos/airbnb/caravel/branches{/branch}","tags_url":"https://api.github.com/repos/airbnb/caravel/tags","blobs_url":"https://api.github.com/repos/airbnb/caravel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbnb/caravel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbnb/caravel/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbnb/caravel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbnb/caravel/statuses/{sha}","languages_url":"https://api.github.com/repos/airbnb/caravel/languages","stargazers_url":"https://api.github.com/repos/airbnb/caravel/stargazers","contributors_url":"https://api.github.com/repos/airbnb/caravel/contributors","subscribers_url":"https://api.github.com/repos/airbnb/caravel/subscribers","subscription_url":"https://api.github.com/repos/airbnb/caravel/subscription","commits_url":"https://api.github.com/repos/airbnb/caravel/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbnb/caravel/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbnb/caravel/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbnb/caravel/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbnb/caravel/contents/{+path}","compare_url":"https://api.github.com/repos/airbnb/caravel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbnb/caravel/merges","archive_url":"https://api.github.com/repos/airbnb/caravel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbnb/caravel/downloads","issues_url":"https://api.github.com/repos/airbnb/caravel/issues{/number}","pulls_url":"https://api.github.com/repos/airbnb/caravel/pulls{/number}","milestones_url":"https://api.github.com/repos/airbnb/caravel/milestones{/number}","notifications_url":"https://api.github.com/repos/airbnb/caravel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbnb/caravel/labels{/name}","releases_url":"https://api.github.com/repos/airbnb/caravel/releases{/id}","deployments_url":"https://api.github.com/repos/airbnb/caravel/deployments","created_at":"2015-07-21T18:55:34Z","updated_at":"2016-05-03T19:09:50Z","pushed_at":"2016-05-03T19:44:42Z","git_url":"git://github.com/airbnb/caravel.git","ssh_url":"git@github.com:airbnb/caravel.git","clone_url":"https://github.com/airbnb/caravel.git","svn_url":"https://github.com/airbnb/caravel","homepage":"","size":33904,"stargazers_count":5933,"watchers_count":5933,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":496,"mirror_url":null,"open_issues_count":81,"forks":496,"open_issues":81,"watchers":5933,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/429"},"html":{"href":"https://github.com/airbnb/caravel/pull/429"},"issue":{"href":"https://api.github.com/repos/airbnb/caravel/issues/429"},"comments":{"href":"https://api.github.com/repos/airbnb/caravel/issues/429/comments"},"review_comments":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/429/comments"},"review_comment":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airbnb/caravel/pulls/429/commits"},"statuses":{"href":"https://api.github.com/repos/airbnb/caravel/statuses/0d44bd92610c61b38c02330a20359c2c29f941e1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mistercrunch","id":487433,"avatar_url":"https://avatars.githubusercontent.com/u/487433?v=3","gravatar_id":"","url":"https://api.github.com/users/mistercrunch","html_url":"https://github.com/mistercrunch","followers_url":"https://api.github.com/users/mistercrunch/followers","following_url":"https://api.github.com/users/mistercrunch/following{/other_user}","gists_url":"https://api.github.com/users/mistercrunch/gists{/gist_id}","starred_url":"https://api.github.com/users/mistercrunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistercrunch/subscriptions","organizations_url":"https://api.github.com/users/mistercrunch/orgs","repos_url":"https://api.github.com/users/mistercrunch/repos","events_url":"https://api.github.com/users/mistercrunch/events{/privacy}","received_events_url":"https://api.github.com/users/mistercrunch/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}