}
}
}
private static Index createSimpleIndex(Table curTable, String columnName) {
AkibanInformationSchema ais = new AkibanInformationSchema();
Table newTable = Table.create(ais, curTable.getName().getSchemaName(), curTable.getName().getTableName(), 0);
Index newIndex = TableIndex.create(ais, newTable, columnName, 0, false, false);
Column curColumn = curTable.getColumn(columnName);
Column newColumn = Column.create(newTable, curColumn.getName(), curColumn.getPosition(), curColumn.getType());
IndexColumn.create(newIndex, newColumn, 0, true, null);