I have the following Cassandra table:
create table start_stop (id text, start text, end text, price double, PRIMARY KEY (id, start));
I do an insert like this:
insert into start_stop (id, start) values ('123', 'w');
Now I want to do an update:
update start_stop set end = 'z' where id = '123';
and I get an error:
InvalidRequest: code=2200 [Invalid query] message="Some clustering keys are missing: start"
How can I fix this, aside from doing a query to look up the start value before doing an update?