[ https://issues.apache.org/jira/browse/HIVE-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737839#action_12737839 ]
Raghotham Murthy commented on HIVE-691: --------------------------------------- Right now, by just looking at the code for a UDF/UDAF, it is hard to figure out what __FUNC__ is. Does it make sense to add the name of the function as one of the annotations? Then, maybe later on, we can just register all classes with names UDF*, GenericUDF*, UDAF*, GenericUDAF* in the classpath instead of explicitly listing out each function in the FunctionRegister. > show documentation for user defined functions > --------------------------------------------- > > Key: HIVE-691 > URL: https://issues.apache.org/jira/browse/HIVE-691 > Project: Hadoop Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Prasad Chakka > Assignee: Emil Ibrishimov > Fix For: 0.4.0 > > Attachments: HIVE-691.1.patch > > > There are lot of functions and more of them will be added. I think it is > cumbersome to update wiki or ask users to go to wiki to find out > documentation. instead each user defined function can have an annotation > containing documentation and 'show functions' command or similar can show the > documentation to users on command line. it will also be easier to update the > documentation along with code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.