{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14136","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14136/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14136/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14136/events","html_url":"https://github.com/apache/spark/pull/14136","id":164814071,"number":14136,"title":"[SPARK-16282][SQL] Implement percentile SQL function.","user":{"login":"jiangxb1987","id":4784782,"avatar_url":"https://avatars.githubusercontent.com/u/4784782?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangxb1987","html_url":"https://github.com/jiangxb1987","followers_url":"https://api.github.com/users/jiangxb1987/followers","following_url":"https://api.github.com/users/jiangxb1987/following{/other_user}","gists_url":"https://api.github.com/users/jiangxb1987/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangxb1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangxb1987/subscriptions","organizations_url":"https://api.github.com/users/jiangxb1987/orgs","repos_url":"https://api.github.com/users/jiangxb1987/repos","events_url":"https://api.github.com/users/jiangxb1987/events{/privacy}","received_events_url":"https://api.github.com/users/jiangxb1987/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":49,"created_at":"2016-07-11T11:16:59Z","updated_at":"2016-11-28T09:04:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14136","html_url":"https://github.com/apache/spark/pull/14136","diff_url":"https://github.com/apache/spark/pull/14136.diff","patch_url":"https://github.com/apache/spark/pull/14136.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nImplement percentile SQL function. It computes the exact percentile(s) of expr at pc with range in [0, 1].\r\n\r\n## How was this patch tested?\r\n\r\nAdd a new testsuite `PercentileSuite` to test percentile directly.\r\nUpdated related testcases in `ExpressionToSQLSuite`."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/263217464","html_url":"https://github.com/apache/spark/pull/14136#issuecomment-263217464","issue_url":"https://api.github.com/repos/apache/spark/issues/14136","id":263217464,"user":{"login":"jiangxb1987","id":4784782,"avatar_url":"https://avatars.githubusercontent.com/u/4784782?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangxb1987","html_url":"https://github.com/jiangxb1987","followers_url":"https://api.github.com/users/jiangxb1987/followers","following_url":"https://api.github.com/users/jiangxb1987/following{/other_user}","gists_url":"https://api.github.com/users/jiangxb1987/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangxb1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangxb1987/subscriptions","organizations_url":"https://api.github.com/users/jiangxb1987/orgs","repos_url":"https://api.github.com/users/jiangxb1987/repos","events_url":"https://api.github.com/users/jiangxb1987/events{/privacy}","received_events_url":"https://api.github.com/users/jiangxb1987/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T09:04:41Z","updated_at":"2016-11-28T09:04:41Z","body":"Currently `ImplicitTypeCasts` doesn't support cast between `ArrayType(elementType)`s, so we have to support `ArrayType(NumericType)` for now. When we have add that support, we could make  the code for analyze `percentageExpression` more concise."}}
{"actor":{"display_login":"jiangxb1987"}}