I have a table in Cassandra DB, with some columns, for example:
id (text), ..., data (text).
For migration purposes, I need to copy the value of "data" into a new column: data_list (list<text>).
How can I initialize the data_list column by the value in data column?
I tried:
update t1 set data_list[0] = data where ...;
update t1 set data_list = data where ...;
update t1 set data_list = [ data ] where ...;
update t1 set data_list [0] = (select data from t1 where ...) where ...;
None of the above worked.
Is this possible?