{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15637","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15637/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15637/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15637/events","html_url":"https://github.com/apache/spark/pull/15637","id":185289770,"number":15637,"title":"[SPARK-18000] [SQL] Aggregation function for computing endpoints for histograms","user":{"login":"wzhfy","id":10878553,"avatar_url":"https://avatars.githubusercontent.com/u/10878553?v=3","gravatar_id":"","url":"https://api.github.com/users/wzhfy","html_url":"https://github.com/wzhfy","followers_url":"https://api.github.com/users/wzhfy/followers","following_url":"https://api.github.com/users/wzhfy/following{/other_user}","gists_url":"https://api.github.com/users/wzhfy/gists{/gist_id}","starred_url":"https://api.github.com/users/wzhfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzhfy/subscriptions","organizations_url":"https://api.github.com/users/wzhfy/orgs","repos_url":"https://api.github.com/users/wzhfy/repos","events_url":"https://api.github.com/users/wzhfy/events{/privacy}","received_events_url":"https://api.github.com/users/wzhfy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-26T03:39:39Z","updated_at":"2016-10-31T19:12:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15637","html_url":"https://github.com/apache/spark/pull/15637","diff_url":"https://github.com/apache/spark/pull/15637.diff","patch_url":"https://github.com/apache/spark/pull/15637.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis function for a column returns bins - (distinct value, frequency) pairs of equi-width histogram when the number of distinct values is less than or equal to the specified maximum number of bins. Otherwise, it returns an empty map.\r\n\r\n## How was this patch tested?\r\n\r\nadd test cases\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/257390928","html_url":"https://github.com/apache/spark/pull/15637#issuecomment-257390928","issue_url":"https://api.github.com/repos/apache/spark/issues/15637","id":257390928,"user":{"login":"gatorsmile","id":11567269,"avatar_url":"https://avatars.githubusercontent.com/u/11567269?v=3","gravatar_id":"","url":"https://api.github.com/users/gatorsmile","html_url":"https://github.com/gatorsmile","followers_url":"https://api.github.com/users/gatorsmile/followers","following_url":"https://api.github.com/users/gatorsmile/following{/other_user}","gists_url":"https://api.github.com/users/gatorsmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gatorsmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gatorsmile/subscriptions","organizations_url":"https://api.github.com/users/gatorsmile/orgs","repos_url":"https://api.github.com/users/gatorsmile/repos","events_url":"https://api.github.com/users/gatorsmile/events{/privacy}","received_events_url":"https://api.github.com/users/gatorsmile/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T19:12:56Z","updated_at":"2016-10-31T19:12:56Z","body":"How about the complex types? `Array`, `Map` and `Struct`? It sounds like the test cases do not cover these test cases. Thanks!"}}
{"actor":{"display_login":"gatorsmile"}}