{"action":"opened","number":12186,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186","id":97183984,"html_url":"https://github.com/cockroachdb/cockroach/pull/12186","diff_url":"https://github.com/cockroachdb/cockroach/pull/12186.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/12186.patch","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/12186","number":12186,"state":"open","locked":false,"title":"sql: implement array_agg aggregate function","user":{"login":"jordanlewis","id":43821,"avatar_url":"https://avatars.githubusercontent.com/u/43821?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanlewis","html_url":"https://github.com/jordanlewis","followers_url":"https://api.github.com/users/jordanlewis/followers","following_url":"https://api.github.com/users/jordanlewis/following{/other_user}","gists_url":"https://api.github.com/users/jordanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanlewis/subscriptions","organizations_url":"https://api.github.com/users/jordanlewis/orgs","repos_url":"https://api.github.com/users/jordanlewis/repos","events_url":"https://api.github.com/users/jordanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/jordanlewis/received_events","type":"User","site_admin":false},"body":"... for ints and strings.\r\n\r\nThis aggregate function creates an array out of the values passed to it. See docs at https://www.postgresql.org/docs/9.6/static/functions-aggregate.html.\r\n\r\nResolves #12115.","created_at":"2016-12-08T19:23:55Z","updated_at":"2016-12-08T19:23:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"knz","id":642886,"avatar_url":"https://avatars.githubusercontent.com/u/642886?v=3","gravatar_id":"","url":"https://api.github.com/users/knz","html_url":"https://github.com/knz","followers_url":"https://api.github.com/users/knz/followers","following_url":"https://api.github.com/users/knz/following{/other_user}","gists_url":"https://api.github.com/users/knz/gists{/gist_id}","starred_url":"https://api.github.com/users/knz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knz/subscriptions","organizations_url":"https://api.github.com/users/knz/orgs","repos_url":"https://api.github.com/users/knz/repos","events_url":"https://api.github.com/users/knz/events{/privacy}","received_events_url":"https://api.github.com/users/knz/received_events","type":"User","site_admin":false},"assignees":[{"login":"knz","id":642886,"avatar_url":"https://avatars.githubusercontent.com/u/642886?v=3","gravatar_id":"","url":"https://api.github.com/users/knz","html_url":"https://github.com/knz","followers_url":"https://api.github.com/users/knz/followers","following_url":"https://api.github.com/users/knz/following{/other_user}","gists_url":"https://api.github.com/users/knz/gists{/gist_id}","starred_url":"https://api.github.com/users/knz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knz/subscriptions","organizations_url":"https://api.github.com/users/knz/orgs","repos_url":"https://api.github.com/users/knz/repos","events_url":"https://api.github.com/users/knz/events{/privacy}","received_events_url":"https://api.github.com/users/knz/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/12186/comments","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/afd41663c2b83dce95d085274f034376de4d808a","head":{"label":"jordanlewis:array_agg","ref":"array_agg","sha":"afd41663c2b83dce95d085274f034376de4d808a","user":{"login":"jordanlewis","id":43821,"avatar_url":"https://avatars.githubusercontent.com/u/43821?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanlewis","html_url":"https://github.com/jordanlewis","followers_url":"https://api.github.com/users/jordanlewis/followers","following_url":"https://api.github.com/users/jordanlewis/following{/other_user}","gists_url":"https://api.github.com/users/jordanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanlewis/subscriptions","organizations_url":"https://api.github.com/users/jordanlewis/orgs","repos_url":"https://api.github.com/users/jordanlewis/repos","events_url":"https://api.github.com/users/jordanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/jordanlewis/received_events","type":"User","site_admin":false},"repo":{"id":60553554,"name":"cockroach","full_name":"jordanlewis/cockroach","owner":{"login":"jordanlewis","id":43821,"avatar_url":"https://avatars.githubusercontent.com/u/43821?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanlewis","html_url":"https://github.com/jordanlewis","followers_url":"https://api.github.com/users/jordanlewis/followers","following_url":"https://api.github.com/users/jordanlewis/following{/other_user}","gists_url":"https://api.github.com/users/jordanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanlewis/subscriptions","organizations_url":"https://api.github.com/users/jordanlewis/orgs","repos_url":"https://api.github.com/users/jordanlewis/repos","events_url":"https://api.github.com/users/jordanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/jordanlewis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jordanlewis/cockroach","description":"A Scalable, Survivable, Strongly-Consistent SQL Database","fork":true,"url":"https://api.github.com/repos/jordanlewis/cockroach","forks_url":"https://api.github.com/repos/jordanlewis/cockroach/forks","keys_url":"https://api.github.com/repos/jordanlewis/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jordanlewis/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jordanlewis/cockroach/teams","hooks_url":"https://api.github.com/repos/jordanlewis/cockroach/hooks","issue_events_url":"https://api.github.com/repos/jordanlewis/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/jordanlewis/cockroach/events","assignees_url":"https://api.github.com/repos/jordanlewis/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/jordanlewis/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/jordanlewis/cockroach/tags","blobs_url":"https://api.github.com/repos/jordanlewis/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jordanlewis/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jordanlewis/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/jordanlewis/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jordanlewis/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/jordanlewis/cockroach/languages","stargazers_url":"https://api.github.com/repos/jordanlewis/cockroach/stargazers","contributors_url":"https://api.github.com/repos/jordanlewis/cockroach/contributors","subscribers_url":"https://api.github.com/repos/jordanlewis/cockroach/subscribers","subscription_url":"https://api.github.com/repos/jordanlewis/cockroach/subscription","commits_url":"https://api.github.com/repos/jordanlewis/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/jordanlewis/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/jordanlewis/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/jordanlewis/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/jordanlewis/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/jordanlewis/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jordanlewis/cockroach/merges","archive_url":"https://api.github.com/repos/jordanlewis/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jordanlewis/cockroach/downloads","issues_url":"https://api.github.com/repos/jordanlewis/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/jordanlewis/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/jordanlewis/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/jordanlewis/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jordanlewis/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/jordanlewis/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/jordanlewis/cockroach/deployments","created_at":"2016-06-06T19:04:51Z","updated_at":"2016-06-06T19:04:56Z","pushed_at":"2016-12-08T19:20:53Z","git_url":"git://github.com/jordanlewis/cockroach.git","ssh_url":"git@github.com:jordanlewis/cockroach.git","clone_url":"https://github.com/jordanlewis/cockroach.git","svn_url":"https://github.com/jordanlewis/cockroach","homepage":"https://www.cockroachlabs.com","size":231927,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"516e3affbe1f86471f58dfeaeea452261ebc5d36","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-08T11:20:15Z","pushed_at":"2016-12-08T19:22:26Z","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":419516,"stargazers_count":8017,"watchers_count":8017,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":809,"mirror_url":null,"open_issues_count":834,"forks":809,"open_issues":834,"watchers":8017,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/12186"},"issue":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/12186"},"comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/12186/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/12186/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/cockroach/statuses/afd41663c2b83dce95d085274f034376de4d808a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"jordanlewis"}}