{"action":"created","issue":{"url":"https://api.github.com/repos/druid-io/druid/issues/3567","repository_url":"https://api.github.com/repos/druid-io/druid","labels_url":"https://api.github.com/repos/druid-io/druid/issues/3567/labels{/name}","comments_url":"https://api.github.com/repos/druid-io/druid/issues/3567/comments","events_url":"https://api.github.com/repos/druid-io/druid/issues/3567/events","html_url":"https://github.com/druid-io/druid/pull/3567","id":182950583,"number":3567,"title":"Add Greatest and Least post aggregations","user":{"login":"erikdubbelboer","id":522870,"avatar_url":"https://avatars.githubusercontent.com/u/522870?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdubbelboer","html_url":"https://github.com/erikdubbelboer","followers_url":"https://api.github.com/users/erikdubbelboer/followers","following_url":"https://api.github.com/users/erikdubbelboer/following{/other_user}","gists_url":"https://api.github.com/users/erikdubbelboer/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdubbelboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdubbelboer/subscriptions","organizations_url":"https://api.github.com/users/erikdubbelboer/orgs","repos_url":"https://api.github.com/users/erikdubbelboer/repos","events_url":"https://api.github.com/users/erikdubbelboer/events{/privacy}","received_events_url":"https://api.github.com/users/erikdubbelboer/received_events","type":"User","site_admin":false},"labels":[{"id":17287687,"url":"https://api.github.com/repos/druid-io/druid/labels/Feature","name":"Feature","color":"2ceefb","default":false}],"state":"closed","locked":false,"assignee":{"login":"fjy","id":428325,"avatar_url":"https://avatars.githubusercontent.com/u/428325?v=3","gravatar_id":"","url":"https://api.github.com/users/fjy","html_url":"https://github.com/fjy","followers_url":"https://api.github.com/users/fjy/followers","following_url":"https://api.github.com/users/fjy/following{/other_user}","gists_url":"https://api.github.com/users/fjy/gists{/gist_id}","starred_url":"https://api.github.com/users/fjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjy/subscriptions","organizations_url":"https://api.github.com/users/fjy/orgs","repos_url":"https://api.github.com/users/fjy/repos","events_url":"https://api.github.com/users/fjy/events{/privacy}","received_events_url":"https://api.github.com/users/fjy/received_events","type":"User","site_admin":false},"assignees":[{"login":"fjy","id":428325,"avatar_url":"https://avatars.githubusercontent.com/u/428325?v=3","gravatar_id":"","url":"https://api.github.com/users/fjy","html_url":"https://github.com/fjy","followers_url":"https://api.github.com/users/fjy/followers","following_url":"https://api.github.com/users/fjy/following{/other_user}","gists_url":"https://api.github.com/users/fjy/gists{/gist_id}","starred_url":"https://api.github.com/users/fjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjy/subscriptions","organizations_url":"https://api.github.com/users/fjy/orgs","repos_url":"https://api.github.com/users/fjy/repos","events_url":"https://api.github.com/users/fjy/events{/privacy}","received_events_url":"https://api.github.com/users/fjy/received_events","type":"User","site_admin":false},{"login":"jon-wei","id":8729063,"avatar_url":"https://avatars.githubusercontent.com/u/8729063?v=3","gravatar_id":"","url":"https://api.github.com/users/jon-wei","html_url":"https://github.com/jon-wei","followers_url":"https://api.github.com/users/jon-wei/followers","following_url":"https://api.github.com/users/jon-wei/following{/other_user}","gists_url":"https://api.github.com/users/jon-wei/gists{/gist_id}","starred_url":"https://api.github.com/users/jon-wei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jon-wei/subscriptions","organizations_url":"https://api.github.com/users/jon-wei/orgs","repos_url":"https://api.github.com/users/jon-wei/repos","events_url":"https://api.github.com/users/jon-wei/events{/privacy}","received_events_url":"https://api.github.com/users/jon-wei/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/druid-io/druid/milestones/21","html_url":"https://github.com/druid-io/druid/milestone/21","labels_url":"https://api.github.com/repos/druid-io/druid/milestones/21/labels","id":1831000,"number":21,"title":"0.9.3","description":"","creator":{"login":"fjy","id":428325,"avatar_url":"https://avatars.githubusercontent.com/u/428325?v=3","gravatar_id":"","url":"https://api.github.com/users/fjy","html_url":"https://github.com/fjy","followers_url":"https://api.github.com/users/fjy/followers","following_url":"https://api.github.com/users/fjy/following{/other_user}","gists_url":"https://api.github.com/users/fjy/gists{/gist_id}","starred_url":"https://api.github.com/users/fjy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjy/subscriptions","organizations_url":"https://api.github.com/users/fjy/orgs","repos_url":"https://api.github.com/users/fjy/repos","events_url":"https://api.github.com/users/fjy/events{/privacy}","received_events_url":"https://api.github.com/users/fjy/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":117,"state":"open","created_at":"2016-06-15T22:35:58Z","updated_at":"2016-12-08T03:09:56Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-10-14T02:42:11Z","updated_at":"2016-12-08T08:02:44Z","closed_at":"2016-12-08T01:58:23Z","pull_request":{"url":"https://api.github.com/repos/druid-io/druid/pulls/3567","html_url":"https://github.com/druid-io/druid/pull/3567","diff_url":"https://github.com/druid-io/druid/pull/3567.diff","patch_url":"https://github.com/druid-io/druid/pull/3567.patch"},"body":"Adds `doubleGreatest`, `doubleLeast`, `longGreatest` and `longLeast` post aggregations which take a list of fields/aggregations and return the biggest or smallest value.\n\nI was thinking of calling them `doubleMax` and `doubleMin` but this might be confusing with the already existing aggregations by that name which work a bit differently.\n\nThat's why I chose the name `Greatest` and `Least` like the [MySQL](http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#function_greatest) and [PostgreSQL](https://www.postgresql.org/docs/8.4/static/functions-conditional.html#AEN15322) functions.\n"},"comment":{"url":"https://api.github.com/repos/druid-io/druid/issues/comments/265677485","html_url":"https://github.com/druid-io/druid/pull/3567#issuecomment-265677485","issue_url":"https://api.github.com/repos/druid-io/druid/issues/3567","id":265677485,"user":{"login":"erikdubbelboer","id":522870,"avatar_url":"https://avatars.githubusercontent.com/u/522870?v=3","gravatar_id":"","url":"https://api.github.com/users/erikdubbelboer","html_url":"https://github.com/erikdubbelboer","followers_url":"https://api.github.com/users/erikdubbelboer/followers","following_url":"https://api.github.com/users/erikdubbelboer/following{/other_user}","gists_url":"https://api.github.com/users/erikdubbelboer/gists{/gist_id}","starred_url":"https://api.github.com/users/erikdubbelboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikdubbelboer/subscriptions","organizations_url":"https://api.github.com/users/erikdubbelboer/orgs","repos_url":"https://api.github.com/users/erikdubbelboer/repos","events_url":"https://api.github.com/users/erikdubbelboer/events{/privacy}","received_events_url":"https://api.github.com/users/erikdubbelboer/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T08:02:44Z","updated_at":"2016-12-08T08:02:44Z","body":"@jon-wei thank you for merging this. Looks like 0.9.3 will be the first release we will be able to use without modifications :)"}}
{"actor":{"display_login":"erikdubbelboer"}}