if (ire.getWhy() != null && !ire.getWhy().equals("Index already exists")
&& operation.equalsIgnoreCase(SchemaOperationType.update.name()))
{
log.error("Error occurred while creating indexes on column{} of table {}, , Caused by: .",
indexInfo.getColumnName(), tableInfo.getTableName(), ire);
throw new SchemaGenerationException("Error occurred while creating indexes on column "
+ indexInfo.getColumnName() + " of table " + tableInfo.getTableName(), ire, "Cassandra",
databaseName);
}
}
}