You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2018/02/14 01:44:00 UTC

[jira] [Created] (HIVE-18711) Add percentile_cont and percentile_disc udaf

Ashutosh Chauhan created HIVE-18711:
---------------------------------------

             Summary: Add percentile_cont and percentile_disc udaf
                 Key: HIVE-18711
                 URL: https://issues.apache.org/jira/browse/HIVE-18711
             Project: Hive
          Issue Type: Bug
          Components: UDF
            Reporter: Ashutosh Chauhan


Most common way to implement this is via ordered aggregate which allows users to specify sort specification with group by clause. Some implementations also allow to use these with window functions.

Since Hive doesn't have concept of ordered aggregates yet, one possibility is to support these only for window functions where sort specification is also taken from window clause.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)