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

dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 8e140727aee [fix](udf) Fix exception thrown when replayDropFunction 
(#39868)
8e140727aee is described below

commit 8e140727aee18be7f2e78453fa9d0f914c3f1431
Author: Gavin Chou <gavineaglec...@gmail.com>
AuthorDate: Sat Aug 24 23:56:48 2024 +0800

    [fix](udf) Fix exception thrown when replayDropFunction (#39868)
    
    This PR completes #25965 to fix uncaught runtime exception when calling
    `org.apache.doris.catalog.GlobalFunctionMgr#replayDropFunction`
    
    
    
![img_v3_02e0_3889b1de-583e-48ba-8e7f-48e1d3ae799g](https://github.com/user-attachments/assets/b0dbfefb-16f3-4dbb-8a00-f4773978ba01)
---
 .../src/main/java/org/apache/doris/catalog/GlobalFunctionMgr.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/catalog/GlobalFunctionMgr.java 
b/fe/fe-core/src/main/java/org/apache/doris/catalog/GlobalFunctionMgr.java
index e95fc4b1bb7..bd5a772c8d0 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/GlobalFunctionMgr.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/GlobalFunctionMgr.java
@@ -93,7 +93,7 @@ public class GlobalFunctionMgr extends MetaObject {
 
     public synchronized void replayDropFunction(FunctionSearchDesc 
functionSearchDesc) {
         try {
-            FunctionUtil.dropFunctionImpl(functionSearchDesc, false, 
name2Function);
+            FunctionUtil.dropFunctionImpl(functionSearchDesc, true, 
name2Function);
             FunctionUtil.dropFromNereids(null, functionSearchDesc);
         } catch (UserException e) {
             throw new RuntimeException(e);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to