[ 
https://issues.apache.org/jira/browse/HIVE-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815022#comment-13815022
 ] 

Brock Noland commented on HIVE-5704:
------------------------------------

bq. Please note that patch contains updates to FunctionRegistry.java file, 
which is required for this JIRA. Thus, that change needs to be committed.

Then just include a separate patch. For example when file moves are required, 
you have three items:

* HIVE-XXXX.N.patch - the patch for testing which includes the moves and the 
other changes
* HIVE-XXX.N-for-commit.patch
* list of commands todo the file moves.

I know that is a patch but losing the history of files is not something we 
should do when it's avoidable. To me it looks like the only thing needed in the 
for-commit patch is:

{noformat}
diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
index 898b6a5..fbde66d 100644
--- ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
+++ ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
@@ -44,8 +44,6 @@
 import org.apache.hadoop.hive.ql.parse.SemanticException;
 import org.apache.hadoop.hive.ql.plan.ExprNodeDesc;
 import org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc;
-import org.apache.hadoop.hive.ql.udf.GenericUDFDecode;
-import org.apache.hadoop.hive.ql.udf.GenericUDFEncode;
 import org.apache.hadoop.hive.ql.udf.SettableUDF;
 import org.apache.hadoop.hive.ql.udf.UDAFPercentile;
 import org.apache.hadoop.hive.ql.udf.UDFAcos;
{noformat}

> A couple of generic UDFs are not in the right folder/package
> ------------------------------------------------------------
>
>                 Key: HIVE-5704
>                 URL: https://issues.apache.org/jira/browse/HIVE-5704
>             Project: Hive
>          Issue Type: Task
>          Components: UDF
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>            Priority: Trivial
>         Attachments: HIVE-5704.1.patch, HIVE-5704.patch
>
>
> There are two generic UDFs are in the package for non-generic UDFs. I think 
> it's better to be consistent but putting them in the udf.generic package



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to