[ https://issues.apache.org/jira/browse/HIVE-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797428#action_12797428 ]
Carl Steinbach commented on HIVE-996: ------------------------------------- @Namit: updated udaf_max.q.out and udaf_min.q.out: Index: ql/src/test/results/clientpositive/udaf_max.q.out =================================================================== --- ql/src/test/results/clientpositive/udaf_max.q.out (revision 0) +++ ql/src/test/results/clientpositive/udaf_max.q.out (revision 0) @@ -0,0 +1,20 @@ +PREHOOK: query: DESCRIBE FUNCTION max +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION max +POSTHOOK: type: DESCFUNCTION +max(expr) - Returns the maximum value of expr +PREHOOK: query: DESCRIBE FUNCTION EXTENDED max +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION EXTENDED max +POSTHOOK: type: DESCFUNCTION +max(expr) - Returns the maximum value of expr +PREHOOK: query: DESCRIBE FUNCTION max +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION max +POSTHOOK: type: DESCFUNCTION +max(expr) - Returns the maximum value of expr +PREHOOK: query: DESCRIBE FUNCTION EXTENDED max +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION EXTENDED max +POSTHOOK: type: DESCFUNCTION +max(expr) - Returns the maximum value of expr Index: ql/src/test/results/clientpositive/udaf_min.q.out =================================================================== --- ql/src/test/results/clientpositive/udaf_min.q.out (revision 0) +++ ql/src/test/results/clientpositive/udaf_min.q.out (revision 0) @@ -0,0 +1,20 @@ +PREHOOK: query: DESCRIBE FUNCTION min +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION min +POSTHOOK: type: DESCFUNCTION +min(expr) - Returns the minimum value of expr +PREHOOK: query: DESCRIBE FUNCTION EXTENDED min +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION EXTENDED min +POSTHOOK: type: DESCFUNCTION +min(expr) - Returns the minimum value of expr +PREHOOK: query: DESCRIBE FUNCTION min +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION min +POSTHOOK: type: DESCFUNCTION +min(expr) - Returns the minimum value of expr +PREHOOK: query: DESCRIBE FUNCTION EXTENDED min +PREHOOK: type: DESCFUNCTION +POSTHOOK: query: DESCRIBE FUNCTION EXTENDED min +POSTHOOK: type: DESCFUNCTION +min(expr) - Returns the minimum value of expr > "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-996.2.patch, HIVE-996.3.patch, HIVE-996.4.patch, > HIVE-996.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.