[ https://issues.apache.org/jira/browse/HIVE-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726372#comment-13726372 ]
Hudson commented on HIVE-4954: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop2-ptest #39 (See [https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/39/]) 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