S05014

Error Code

S05014

Error Message

The column <xxx> does not exist. To add a new column, the size of the new column must equal to the size of the table. RefId: S05014

Probable Causes

When attempting to add a column to an in-memory table with a referencing column, this error may occur if the number of rows in the new column does not match that of the original table.

For example, an error may arise because the original table contains 3 rows, while the added column contains 4.

t = table(1 2 3 as id, 10 20 30 as val)
t[`a] = 4 5 6 7

Solutions

When adding a column to an in-memory table through indices, ensure that the number of rows in the added column is the same to that of the original table.

t = table(1 2 3 as id, 10 20 30 as val)
t[`a] = 4 5 6