This is my table structure and I am updating the sequence with the following query:
Update styles set sequence=1 where styleid = \'CLASSIC\';
Based on how Cassandra stores the data, updating clustering columns (Primary key) is not possible.
Rowkey which is a combination of **styleid** ->[sequence] -> [active boolean,image ascii, name ascii]
In order to point non-primary columns for updating/deleting, it needs to parse through styleid -> sequence partition to hit the columns.
Primary key once created can't be changed as it represents how data is stored in Cassandra. Hence updating 'sequence' here is not possible.