This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new a52148801d7 [fix](udf) Fix exception thrown when replayDropFunction
(#39805)
a52148801d7 is described below
commit a52148801d78ac0475e71b92aa9eaa994eea1f3a
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`

---
.../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]