@Test
public void alterToCompatible() {
createAndLoadTable();
final int tid = tableId(SCHEMA, TABLE);
TableIndex indexBefore = getTable(tid).getIndex(INDEX_NAME);
assertEquals("index row count before alter", ROW_COUNT, scanAllIndex(indexBefore).size());
runAlter("ALTER TABLE t1 ALTER c2 SET DATA TYPE decimal(22,14)");
assertEquals("row count", ROW_COUNT, scanAll(tid).size());
TableIndex index = getTable(tid).getIndex(INDEX_NAME);
assertEquals("Index exists", true, index != null);
assertEquals("index row count", ROW_COUNT, scanAllIndex(index).size());
}