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

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


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

commit 8e5c4d93c51631439e4e1bddd688cbd33314b2e9
Author: Gavin Chou <[email protected]>
AuthorDate: Fri Aug 23 21:42:42 2024 +0800

    [fix](udf) Fix exception thrown when replayDropFunction (#39805)
    
    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 f7d92c24833..fbb8a525a36 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
@@ -116,7 +116,7 @@ public class GlobalFunctionMgr extends MetaObject 
implements GsonPostProcessable
 
     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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to