/[Apache-SVN]
ViewVC logotype

Revision 1208075


Jump to revision: Previous Next
Author: jvs
Date: Tue Nov 29 21:22:56 2011 UTC (12 years, 4 months ago)
Changed paths: 11
Log Message:
HIVE-2561 [jira] Add an annotation to UDFs to allow them to specify additional
FILE/JAR resources necessary for execution

Summary:
Add requirements.

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.

Test Plan: EMPTY

Reviewers: JIRA, jsichi

Reviewed By: jsichi

CC: jsichi, jonchang, atfiore

Differential Revision: 507

Changed paths

Path Details
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java modified , text changed
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/UDF.java modified , text changed
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/ExprNodeGenericFuncDesc.java modified , text changed
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDF.java modified , text changed
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java modified , text changed
Directoryhive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFInFile.java added
Directoryhive/trunk/ql/src/test/queries/clientpositive/udf_in_file.q added
Directoryhive/trunk/ql/src/test/results/clientpositive/show_functions.q.out modified , text changed
Directoryhive/trunk/ql/src/test/results/clientpositive/udf_in_file.q.out added
Directoryhive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java modified , text changed
Directoryhive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26