You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/08/01 11:17:49 UTC

[jira] [Commented] (HIVE-4954) PTFTranslator hardcodes ranking functions

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

Hudson commented on HIVE-4954:
------------------------------

FAILURE: Integrated in Hive-trunk-h0.21 #2236 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2236/])
HIVE-4954: PTFTranslator hardcodes ranking functions (Edward Capriolo via Brock Noland) (brock: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1508984)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/WindowFunctionDescription.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/PTFTranslator.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCumeDist.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFDenseRank.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFPercentRank.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFRank.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/exec/TestFunctionRegistry.java

                
> 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
>             Fix For: 0.12.0
>
>         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