[ https://issues.apache.org/jira/browse/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154736#comment-13154736 ]
John Sichi commented on HIVE-2561: ---------------------------------- @Ed: the standard SQL way to handle this is via SQL/J jar support (as implemented by Oracle, PostgreSQL, DB/2, LucidDB, and others). There, you bundle up the function descriptions inside of a descriptor file in the jar, and then when you add the jar to the system, all of the functions get deployed automatically. And there's a way to declare dependencies between jars as well. Long-term, we could consider adding that as part of support for persistent functions; the whole temporary function thing is kludgy to begin with (in my opinion), so a little more won't kill us in the interim. > Allow UDFs to specify additional FILE/JAR resources necessary for execution > --------------------------------------------------------------------------- > > Key: HIVE-2561 > URL: https://issues.apache.org/jira/browse/HIVE-2561 > Project: Hive > Issue Type: New Feature > Reporter: Jonathan Chang > Assignee: Jonathan Chang > Attachments: HIVE-2561.D507.1.patch > > > Often times UDFs will have dependencies to external JARs/FILEs. It makes > sense for these to be encoded by the UDF (rather than having the caller > remember the set of files that need to be ADDed). Let's add an annotation to > UDFs which will cause these resources to be auto-added. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira