for(IndexColumn icol : index.getKeyColumns()) {
int indexColumnPosition = icol.getPosition();
if (indexColumnPosition < firstSpatialInput || indexColumnPosition > lastSpatialInput) {
Column column = icol.getColumn();
if (column.getName().equals(columnName) && column.getColumnar().getName().equals(columnarName)) {
throw new DuplicateIndexColumnException (index, columnName);
}
}
}
}