Re: Write into composite coulmns

2015-07-10 Thread Ajay Chander
Thank you for your reply Jack! That's my mistake. This is the actual table CREATE TABLE store ( item text, location text, type text, PRIMARY KEY (item, location) ) WITH COMPACT STORAGE; And it gives the same error to me. Have been finding a way to solve it. But no luck so far. Tha

Re: Write into composite coulmns

2015-07-10 Thread Jack Krupansky
First, this is a compound primary key, not a composite [partition] key. You don't have a column definition for dpci, your partition key. Compact storage requires precisely and exactly and only one non-primary key column, but you have two. Maybe dpci and item were supposed to be the same. -- Jack

Re: Write into composite coulmns

2015-07-09 Thread Ajay Chander
Any one here came across a situation like this ? Thank you! On Thursday, July 9, 2015, Ajay Chander wrote: > More information: > > > Below is my cassandra bolt. > > > public CassandraTest withCassandraBolt() { > > String[] rowKeyFields = {“item","location”}; > > HashMap clientConfig = newHashMap