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

Brock Noland commented on HIVE-4954:
------------------------------------

It looks like the patch was incorrectly named. I assume it was still meant for 
this JIRA?
                
> 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

Reply via email to