Skip to content

Commit

Permalink
Flink: SortKeySerializer and CompletedStatisticsSerializer support ve…
Browse files Browse the repository at this point in the history
…rsion,and add UT for the change
  • Loading branch information
Guosmilesmile committed Dec 4, 2024
1 parent a2d4e04 commit c412954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,6 @@ boolean isValid() {
}
}
return true;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ static CompletedStatistics deserializeCompletedStatistics(
throw new RuntimeException("Fail to deserialize aggregated statistics,change to v1");
}
return completedStatistics;

} catch (Exception e) {
try {
statisticsSerializer.changeSortKeySerializerVersion(1);
Expand Down

0 comments on commit c412954

Please sign in to comment.