[test](inverted index)Add cases for inverted index format v2 (#38132)(#38443) (#38222)

## Proposed changes

backport #38132 #38443
This commit is contained in:
qiye
2024-08-02 12:04:26 +08:00
committed by GitHub
parent b3f335ba5f
commit f21d7e3833
23 changed files with 1799 additions and 13 deletions

View File

@ -258,6 +258,10 @@ public class ModifyTablePropertiesClause extends AlterTableClause {
}
this.needTableStable = false;
this.opType = AlterOpType.MODIFY_TABLE_PROPERTY_SYNC;
} else if (properties.containsKey(PropertyAnalyzer.PROPERTIES_INVERTED_INDEX_STORAGE_FORMAT)) {
throw new AnalysisException(
"Property "
+ PropertyAnalyzer.PROPERTIES_INVERTED_INDEX_STORAGE_FORMAT + " is not allowed to change");
} else if (properties.containsKey(PropertyAnalyzer.PROPERTIES_ENABLE_SINGLE_REPLICA_COMPACTION)) {
if (!properties.get(PropertyAnalyzer.PROPERTIES_ENABLE_SINGLE_REPLICA_COMPACTION).equalsIgnoreCase("true")
&& !properties.get(PropertyAnalyzer