[feature](statistics, metadata)Meta data place holder for statistics (#29867)

Meta data place holder for statistics in version 2.1.x. Users could upgrade to this version, but doesn't support rollback.
After this change, statistics related functions doesn't need to change meta data any more in the 2.1 series.
This commit is contained in:
Jibing-Li
2024-01-17 22:41:44 +08:00
committed by yiguolei
parent 7e821f3d66
commit 7d1b3d4704
10 changed files with 264 additions and 133 deletions

View File

@ -74,9 +74,11 @@ public final class FeMetaVersion {
public static final int VERSION_126 = 126;
// For constraints
public static final int VERSION_127 = 127;
// For statistics. Update rows, new partition loaded, AnalysisJobInfo and AnalysisTaskInfo
public static final int VERSION_128 = 128;
// note: when increment meta version, should assign the latest version to VERSION_CURRENT
public static final int VERSION_CURRENT = VERSION_127;
public static final int VERSION_CURRENT = VERSION_128;
// all logs meta version should >= the minimum version, so that we could remove many if clause, for example
// if (FE_METAVERSION < VERSION_94) ...