backport #36869
This commit is contained in:
@ -2932,6 +2932,8 @@ public class SchemaChangeHandler extends AlterHandler {
|
||||
// for now table's state can only be NORMAL
|
||||
Preconditions.checkState(olapTable.getState() == OlapTableState.NORMAL, olapTable.getState().name());
|
||||
|
||||
// remove the index which is not the base index, only base index can be built inverted index
|
||||
indexSchemaMap.entrySet().removeIf(entry -> !entry.getKey().equals(olapTable.getBaseIndexId()));
|
||||
// begin checking each table
|
||||
Map<Long, List<Column>> changedIndexIdToSchema = Maps.newHashMap();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user