You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2020/10/13 08:12:04 UTC

[hive] branch master updated: HIVE-24107: Fix typo in ReloadFunctionsOperation (#1457) (Zhihua Deng reviewed by Zoltan Haindrich)

This is an automated email from the ASF dual-hosted git repository.

kgyrtkirk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e81ca7  HIVE-24107: Fix typo in ReloadFunctionsOperation (#1457) (Zhihua Deng reviewed by Zoltan Haindrich)
7e81ca7 is described below

commit 7e81ca7edad212346d1d4427a1e0cd4c91f3c0df
Author: dengzh <de...@gmail.com>
AuthorDate: Tue Oct 13 16:11:53 2020 +0800

    HIVE-24107: Fix typo in ReloadFunctionsOperation (#1457) (Zhihua Deng reviewed by Zoltan Haindrich)
---
 .../hadoop/hive/ql/ddl/function/reload/ReloadFunctionsOperation.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ddl/function/reload/ReloadFunctionsOperation.java b/ql/src/java/org/apache/hadoop/hive/ql/ddl/function/reload/ReloadFunctionsOperation.java
index 8af68a1..7d9f144 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/ddl/function/reload/ReloadFunctionsOperation.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/ddl/function/reload/ReloadFunctionsOperation.java
@@ -34,7 +34,7 @@ public class ReloadFunctionsOperation extends DDLOperation<ReloadFunctionsDesc>
   @Override
   public int execute() throws HiveException {
     try {
-      Hive.get().reloadFunctions();
+      Hive.get(false).reloadFunctions();
       return 0;
     } catch (Exception e) {
       context.getTask().setException(e);