Re: Understanding what is key and partition key

2014-12-16 Thread Chamila Wijayarathna
gt; Every CQL row will have a partition key by definition, and may >>> optionally have clustering columns. >>> >>> “The key” should just be a synonym for “primary key”, although sometimes >>> people are loosely speaking about “the partition” (which should be “the &

Re: Understanding what is key and partition key

2014-12-16 Thread Jens Rantil
“the >> partition key”) rather than the CQL “row”. >> >> -- Jack Krupansky >> >> *From:* Chamila Wijayarathna >> *Sent:* Tuesday, December 16, 2014 8:03 AM >> *To:* user@cassandra.apache.org >> *Subject:* Understanding what is key and partition key &

Re: Understanding what is key and partition key

2014-12-16 Thread Chamila Wijayarathna
na > *Sent:* Tuesday, December 16, 2014 8:03 AM > *To:* user@cassandra.apache.org > *Subject:* Understanding what is key and partition key > > Hello all, > > I have read a lot about Cassandra and I read about key-value pairs, > partition keys, clustering keys, etc.. >

Re: Understanding what is key and partition key

2014-12-16 Thread Jack Krupansky
@cassandra.apache.org Subject: Understanding what is key and partition key Hello all, I have read a lot about Cassandra and I read about key-value pairs, partition keys, clustering keys, etc.. Is key mentioned in key-value pair and partition key refers to same or are they different? CREATE

Understanding what is key and partition key

2014-12-16 Thread Chamila Wijayarathna
Hello all, I have read a lot about Cassandra and I read about key-value pairs, partition keys, clustering keys, etc.. Is key mentioned in key-value pair and partition key refers to same or are they different? CREATE TABLE corpus.bigram_time_category_ordered_frequency ( id bigint, word1 va