You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jerome Boulon (JIRA)" <ji...@apache.org> on 2010/02/10 01:53:28 UTC

[jira] Updated: (HIVE-259) Add PERCENTILE aggregate function

     [ https://issues.apache.org/jira/browse/HIVE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerome Boulon updated HIVE-259:
-------------------------------

    Attachment: HIVE-259.patch

First iteration for percentile (tested using Hive trunk and Hadoop 0.18.3):
usage:
CREATE TEMPORARY FUNCTION percentile AS 'org.apache.hadoop.hive.ql.udf.Percentile';
select percentile(myColumn,"25,50,99") from MyTable;

- How can I share the state object cross functions?


> Add PERCENTILE aggregate function
> ---------------------------------
>
>                 Key: HIVE-259
>                 URL: https://issues.apache.org/jira/browse/HIVE-259
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Venky Iyer
>            Assignee: Jerome Boulon
>         Attachments: HIVE-259.patch
>
>
> Compute atleast 25, 50, 75th percentiles

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.