From ffdda676d7525de01247e408946da8d4d52e7698 Mon Sep 17 00:00:00 2001 From: Yongqiang YANG Date: Sun, 23 Jun 2024 09:31:17 +0800 Subject: [PATCH] fix --- fe/fe-core/src/main/java/org/apache/doris/catalog/Function.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Function.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Function.java index acc700560c1ef0..cbad2006c0e83c 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Function.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Function.java @@ -665,7 +665,7 @@ public static FunctionType read(DataInput input) throws IOException { if (Env.getCurrentEnvJournalVersion() < FeMetaVersion.VERSION_136) { return fromCode(input.readInt()); } else { - throw new IOException("FunctionType should not be serialized af"); + GsonUtils.GSON.fromJson(Text.readString(input), FunctionType.class); } } }