Details
Description
Steps to reproduce:
Execute the following DDL (create table + create index):
CREATE TABLE IF NOT EXISTS Workspace ( id UUID NOT NULL, accountId UUID NOT NULL, jsonModel VARCHAR, PRIMARY KEY (accountId, id) ) WITH "template=partitioned,atomicity=transactional,key_type=org.gridgain.gmc.dto.workspace.WorkspaceKey,value_type=workspace.Workspace,cache_name=WorkspaceCache"; CREATE INDEX IF NOT EXISTS workspace_id_account_id_idx ON Workspace (id, accountId);
On node start got the following warning:
Index with the given set or subset of columns already exists (consider dropping either new or existing index) [cacheName=WorkspaceCache, schemaName=PUBLIC, tableName=WORKSPACE, newIndexName=WORKSPACE_ID_ACCOUNT_ID_IDX, existingIndexName=_key_PK, existingIndexColumns=[ID, ACCOUNTID]]
But PK and index have different order!
Attachments
Issue Links
- links to