You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2016/07/10 17:27:38 UTC
hive git commit: HIVE-14113 : Create function failed but function in
show function list (Niklaus Xiao via Ashutosh Chauhan)
Repository: hive
Updated Branches:
refs/heads/master d09969b6c -> ee39c21fe
HIVE-14113 : Create function failed but function in show function list (Niklaus Xiao via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ee39c21f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ee39c21f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ee39c21f
Branch: refs/heads/master
Commit: ee39c21fe3bbea982ed19e907538d962888c1928
Parents: d09969b
Author: Niklaus Xiao <st...@live.cn>
Authored: Mon Jun 27 20:15:00 2016 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Sun Jul 10 10:24:55 2016 -0700
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/ee39c21f/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
index a4584e3..9035723 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Registry.java
@@ -235,8 +235,9 @@ public class Registry {
addFunction(functionName, function);
return function;
}
+ } else {
+ addFunction(functionName, function);
}
- addFunction(functionName, function);
return null;
}