[ https://issues.apache.org/jira/browse/HIVE-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Jia updated HIVE-996: -------------------------- Attachment: HIVE-894.1.patch (1) Standard apache header added into the new files. (2) Codes shared. Added a new file/class SortedArrayUtils.java with two static functions - static void binaryInsert(ArrayList<Double> array, Double value, boolean ascending), and static ArrayList<Double> sortedMerge(ArrayList<Double> a1, ArrayList<Double> a2, boolean ascending, int N). (3) Skipped "describe max_n; and describe extended max_n" in the q files, since the tests failed. > "describe function" throws NPE when when called on UDTF or UDAF > --------------------------------------------------------------- > > Key: HIVE-996 > URL: https://issues.apache.org/jira/browse/HIVE-996 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Carl Steinbach > Assignee: Carl Steinbach > Fix For: 0.5.0 > > Attachments: HIVE-894.1.patch > > > {noformat} > hive> describe function explode; > describe function explode; > FAILED: Error in metadata: java.lang.NullPointerException > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask > hive> describe function sum; > describe function sum; > FAILED: Error in metadata: java.lang.NullPointerException > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask > hive> describe function conv; > describe function conv; > OK > conv(num, from_base, to_base) - convert num from from_base to to_base > Time taken: 0.042 seconds > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.