schemaManager.setOnlineDMLError(session, t.getTableId(), e.getMessage());
}
private void buildIndexesInternal(Session session, QueryContext context) {
Collection<ChangeSet> changeSets = schemaManager.getOnlineChangeSets(session);
ChangeLevel changeLevel = commonChangeLevel(changeSets);
assert (changeLevel == ChangeLevel.INDEX || changeLevel == ChangeLevel.INDEX_CONSTRAINT) : changeSets;
TransformCache transformCache = getTransformCache(session, null);
Multimap<Group,RowType> tableIndexes = HashMultimap.create();
Set<GroupIndex> groupIndexes = new HashSet<>();
for(ChangeSet cs : changeSets) {