// There may be duplicates (e.g. every table has a GI it participates in)
Collection<Index> newIndexes = new HashSet<>();
for(ChangeSet cs : changeSets) {
Table table = ais.getTable(cs.getTableId());
for(IndexChange ic : cs.getIndexChangeList()) {
ChangeType changeType = ChangeType.valueOf(ic.getChange().getChangeType());
if(changeType == ChangeType.ADD || changeType == ChangeType.MODIFY) {
String name = ic.getChange().getNewName();
final Index index;
switch(IndexType.valueOf(ic.getIndexType())) {
case TABLE: