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 aab07083bb3f279..a3826760c36d91c 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 @@ -711,6 +711,9 @@ protected void readFields(DataInput input) throws IOException { } public static Function read(DataInput input) throws IOException { + if (Env.getCurrentEnvJournalVersion() >= FeMetaVersion.VERSION_136) { + return GsonUtils.GSON.fromJson(Text.readString(input), Function.class); + } Function function; FunctionType functionType = FunctionType.read(input); switch (functionType) {