{"action":"closed","number":12428,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428","id":98234873,"html_url":"https://github.com/cockroachdb/cockroach/pull/12428","diff_url":"https://github.com/cockroachdb/cockroach/pull/12428.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/12428.patch","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/12428","number":12428,"state":"closed","locked":false,"title":"sql: support adding dates to intervals","user":{"login":"arjunravinarayan","id":1565833,"avatar_url":"https://avatars.githubusercontent.com/u/1565833?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunravinarayan","html_url":"https://github.com/arjunravinarayan","followers_url":"https://api.github.com/users/arjunravinarayan/followers","following_url":"https://api.github.com/users/arjunravinarayan/following{/other_user}","gists_url":"https://api.github.com/users/arjunravinarayan/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunravinarayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunravinarayan/subscriptions","organizations_url":"https://api.github.com/users/arjunravinarayan/orgs","repos_url":"https://api.github.com/users/arjunravinarayan/repos","events_url":"https://api.github.com/users/arjunravinarayan/events{/privacy}","received_events_url":"https://api.github.com/users/arjunravinarayan/received_events","type":"User","site_admin":false},"body":"Fixes #12416. Paired with @mjibson, @dt, we're interested in your thoughts about the return type being TimestampTZ.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/cockroach/12428)\n<!-- Reviewable:end -->\n","created_at":"2016-12-15T21:30:56Z","updated_at":"2016-12-15T22:36:13Z","closed_at":"2016-12-15T22:36:13Z","merged_at":"2016-12-15T22:36:13Z","merge_commit_sha":"6e5065e92500bf58753290cf143aebb91615c754","assignee":{"login":"dt","id":15615,"avatar_url":"https://avatars.githubusercontent.com/u/15615?v=3","gravatar_id":"","url":"https://api.github.com/users/dt","html_url":"https://github.com/dt","followers_url":"https://api.github.com/users/dt/followers","following_url":"https://api.github.com/users/dt/following{/other_user}","gists_url":"https://api.github.com/users/dt/gists{/gist_id}","starred_url":"https://api.github.com/users/dt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dt/subscriptions","organizations_url":"https://api.github.com/users/dt/orgs","repos_url":"https://api.github.com/users/dt/repos","events_url":"https://api.github.com/users/dt/events{/privacy}","received_events_url":"https://api.github.com/users/dt/received_events","type":"User","site_admin":false},"assignees":[{"login":"dt","id":15615,"avatar_url":"https://avatars.githubusercontent.com/u/15615?v=3","gravatar_id":"","url":"https://api.github.com/users/dt","html_url":"https://github.com/dt","followers_url":"https://api.github.com/users/dt/followers","following_url":"https://api.github.com/users/dt/following{/other_user}","gists_url":"https://api.github.com/users/dt/gists{/gist_id}","starred_url":"https://api.github.com/users/dt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dt/subscriptions","organizations_url":"https://api.github.com/users/dt/orgs","repos_url":"https://api.github.com/users/dt/repos","events_url":"https://api.github.com/users/dt/events{/privacy}","received_events_url":"https://api.github.com/users/dt/received_events","type":"User","site_admin":false},{"login":"mjibson","id":41181,"avatar_url":"https://avatars.githubusercontent.com/u/41181?v=3","gravatar_id":"","url":"https://api.github.com/users/mjibson","html_url":"https://github.com/mjibson","followers_url":"https://api.github.com/users/mjibson/followers","following_url":"https://api.github.com/users/mjibson/following{/other_user}","gists_url":"https://api.github.com/users/mjibson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjibson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjibson/subscriptions","organizations_url":"https://api.github.com/users/mjibson/orgs","repos_url":"https://api.github.com/users/mjibson/repos","events_url":"https://api.github.com/users/mjibson/events{/privacy}","received_events_url":"https://api.github.com/users/mjibson/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/12428/comments","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/b8073a1a18cd7f0a6053b01b3e4b3f2a5ace8bd0","head":{"label":"arjunravinarayan:dateplusinterval","ref":"dateplusinterval","sha":"b8073a1a18cd7f0a6053b01b3e4b3f2a5ace8bd0","user":{"login":"arjunravinarayan","id":1565833,"avatar_url":"https://avatars.githubusercontent.com/u/1565833?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunravinarayan","html_url":"https://github.com/arjunravinarayan","followers_url":"https://api.github.com/users/arjunravinarayan/followers","following_url":"https://api.github.com/users/arjunravinarayan/following{/other_user}","gists_url":"https://api.github.com/users/arjunravinarayan/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunravinarayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunravinarayan/subscriptions","organizations_url":"https://api.github.com/users/arjunravinarayan/orgs","repos_url":"https://api.github.com/users/arjunravinarayan/repos","events_url":"https://api.github.com/users/arjunravinarayan/events{/privacy}","received_events_url":"https://api.github.com/users/arjunravinarayan/received_events","type":"User","site_admin":false},"repo":{"id":59059502,"name":"cockroach","full_name":"arjunravinarayan/cockroach","owner":{"login":"arjunravinarayan","id":1565833,"avatar_url":"https://avatars.githubusercontent.com/u/1565833?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunravinarayan","html_url":"https://github.com/arjunravinarayan","followers_url":"https://api.github.com/users/arjunravinarayan/followers","following_url":"https://api.github.com/users/arjunravinarayan/following{/other_user}","gists_url":"https://api.github.com/users/arjunravinarayan/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunravinarayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunravinarayan/subscriptions","organizations_url":"https://api.github.com/users/arjunravinarayan/orgs","repos_url":"https://api.github.com/users/arjunravinarayan/repos","events_url":"https://api.github.com/users/arjunravinarayan/events{/privacy}","received_events_url":"https://api.github.com/users/arjunravinarayan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arjunravinarayan/cockroach","description":"A Scalable, Survivable, Strongly-Consistent SQL Database","fork":true,"url":"https://api.github.com/repos/arjunravinarayan/cockroach","forks_url":"https://api.github.com/repos/arjunravinarayan/cockroach/forks","keys_url":"https://api.github.com/repos/arjunravinarayan/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arjunravinarayan/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arjunravinarayan/cockroach/teams","hooks_url":"https://api.github.com/repos/arjunravinarayan/cockroach/hooks","issue_events_url":"https://api.github.com/repos/arjunravinarayan/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/arjunravinarayan/cockroach/events","assignees_url":"https://api.github.com/repos/arjunravinarayan/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/arjunravinarayan/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/arjunravinarayan/cockroach/tags","blobs_url":"https://api.github.com/repos/arjunravinarayan/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arjunravinarayan/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arjunravinarayan/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/arjunravinarayan/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arjunravinarayan/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/arjunravinarayan/cockroach/languages","stargazers_url":"https://api.github.com/repos/arjunravinarayan/cockroach/stargazers","contributors_url":"https://api.github.com/repos/arjunravinarayan/cockroach/contributors","subscribers_url":"https://api.github.com/repos/arjunravinarayan/cockroach/subscribers","subscription_url":"https://api.github.com/repos/arjunravinarayan/cockroach/subscription","commits_url":"https://api.github.com/repos/arjunravinarayan/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/arjunravinarayan/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/arjunravinarayan/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/arjunravinarayan/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/arjunravinarayan/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/arjunravinarayan/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arjunravinarayan/cockroach/merges","archive_url":"https://api.github.com/repos/arjunravinarayan/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arjunravinarayan/cockroach/downloads","issues_url":"https://api.github.com/repos/arjunravinarayan/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/arjunravinarayan/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/arjunravinarayan/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/arjunravinarayan/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arjunravinarayan/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/arjunravinarayan/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/arjunravinarayan/cockroach/deployments","created_at":"2016-05-17T21:13:49Z","updated_at":"2016-11-07T19:15:49Z","pushed_at":"2016-12-15T22:36:13Z","git_url":"git://github.com/arjunravinarayan/cockroach.git","ssh_url":"git@github.com:arjunravinarayan/cockroach.git","clone_url":"https://github.com/arjunravinarayan/cockroach.git","svn_url":"https://github.com/arjunravinarayan/cockroach","homepage":"https://www.cockroachlabs.com","size":228632,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"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":"cockroachdb:master","ref":"master","sha":"205badfb2598bcdcbe1fc21fcb105556faa48eb7","user":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":16563587,"name":"cockroach","full_name":"cockroachdb/cockroach","owner":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/cockroach","description":"A Scalable, Survivable, Strongly-Consistent SQL Database","fork":false,"url":"https://api.github.com/repos/cockroachdb/cockroach","forks_url":"https://api.github.com/repos/cockroachdb/cockroach/forks","keys_url":"https://api.github.com/repos/cockroachdb/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/cockroach/teams","hooks_url":"https://api.github.com/repos/cockroachdb/cockroach/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/cockroach/events","assignees_url":"https://api.github.com/repos/cockroachdb/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/cockroach/tags","blobs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/cockroach/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/cockroach/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/cockroach/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/cockroach/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/cockroach/subscription","commits_url":"https://api.github.com/repos/cockroachdb/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/cockroach/merges","archive_url":"https://api.github.com/repos/cockroachdb/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/cockroach/downloads","issues_url":"https://api.github.com/repos/cockroachdb/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/cockroach/deployments","created_at":"2014-02-06T00:18:47Z","updated_at":"2016-12-15T16:49:23Z","pushed_at":"2016-12-15T22:36:13Z","git_url":"git://github.com/cockroachdb/cockroach.git","ssh_url":"git@github.com:cockroachdb/cockroach.git","clone_url":"https://github.com/cockroachdb/cockroach.git","svn_url":"https://github.com/cockroachdb/cockroach","homepage":"https://www.cockroachlabs.com","size":404254,"stargazers_count":8055,"watchers_count":8055,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":812,"mirror_url":null,"open_issues_count":854,"forks":812,"open_issues":854,"watchers":8055,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/12428"},"issue":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/12428"},"comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/12428/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12428/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/cockroach/statuses/b8073a1a18cd7f0a6053b01b3e4b3f2a5ace8bd0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"arjunravinarayan","id":1565833,"avatar_url":"https://avatars.githubusercontent.com/u/1565833?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunravinarayan","html_url":"https://github.com/arjunravinarayan","followers_url":"https://api.github.com/users/arjunravinarayan/followers","following_url":"https://api.github.com/users/arjunravinarayan/following{/other_user}","gists_url":"https://api.github.com/users/arjunravinarayan/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunravinarayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunravinarayan/subscriptions","organizations_url":"https://api.github.com/users/arjunravinarayan/orgs","repos_url":"https://api.github.com/users/arjunravinarayan/repos","events_url":"https://api.github.com/users/arjunravinarayan/events{/privacy}","received_events_url":"https://api.github.com/users/arjunravinarayan/received_events","type":"User","site_admin":false},"comments":3,"review_comments":4,"commits":1,"additions":53,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"arjunravinarayan"}}