Column oldColumn = tableCopy.getColumn(oldColName);
assertNotNull("Found old column " + oldColName, oldColumn);
// Have to do this manually as parser doesn't support it, duplicates much of the work in AlterTableDDL
List<Column> columns = new ArrayList<>(tableCopy.getColumns());
tableCopy.dropColumns();
for(Column column : columns) {
Column.create(tableCopy, column, (column == oldColumn) ? newColName : null, null);
}
Column newColumn = tableCopy.getColumn(newColName);