hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4954) PTFTranslator hardcodes ranking functions
Date Wed, 31 Jul 2013 01:02:59 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724691#comment-13724691
] 

Edward Capriolo commented on HIVE-4954:
---------------------------------------

Incorrectly named, but correct patch.
                
> PTFTranslator hardcodes ranking functions
> -----------------------------------------
>
>                 Key: HIVE-4954
>                 URL: https://issues.apache.org/jira/browse/HIVE-4954
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>         Attachments: HIVE-4879.2.patch.txt, HIVE-4954.1.patch.txt
>
>
>   protected static final ArrayList<String> RANKING_FUNCS = new ArrayList<String>();
>   static {
>     RANKING_FUNCS.add("rank");
>     RANKING_FUNCS.add("dense_rank");
>     RANKING_FUNCS.add("percent_rank");
>     RANKING_FUNCS.add("cume_dist");
>   };
> Move this logic to annotations

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message