S05015

Error Code

S05015

Error Message

Can't drop a key column. RefId: S05015

Probable Causes

This error occurs when the key column of a keyed or indexed in-memory table is deleted.

For example:

t = keyedTable(`id, table(1 2 3 as id, 10 20 30 as val))
t.dropColumns!(`id)

t = indexedTable(`id, table(1 2 3 as id, 10 20 30 as val))
t.dropColumns!(`id)

Solutions

Do not delete any key column of keyed or indexed in-memory tables.