Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jun 23, 2024
1 parent 8c702cb commit 4c54f28
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4c54f28

Please sign in to comment.