You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatebooleanisIndexOnColumn(CqlIdentifiercolumn) {
// NOTE: does not check the type of the secondary index, assuming all is SAI// have to use list because the indexes are keyed on the index name, not the column name.// TODO: confirm it is OK to not check the index type and propertiesreturntableMetadata.getIndexes().values().stream()
.anyMatch(index -> index.getTarget().equals(column.asInternal()));
}
But the target on the indexMetadata is not just the column name, this was written before the API had it's own schema objects which we should use via the ApiTableDef.
The text was updated successfully, but these errors were encountered:
code is
But the target on the indexMetadata is not just the column name, this was written before the API had it's own schema objects which we should use via the ApiTableDef.
The text was updated successfully, but these errors were encountered: