Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
*To:* user@cassandra.apache.org *Subject:* Using compound primary key ** ** Hi, ** ** I am trying to use compound primary key column name and i am referring to: http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 ** ** As mentioned on this example, i tried to create

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Unfortunately nothing in server logs leads me to any error. -Vivek On Tue, Oct 9, 2012 at 1:16 PM, Sylvain Lebresne sylv...@datastax.comwrote: On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra mishra.v...@gmail.com wrote: Ok. I am able to understand the problem now. Issue is: If i create a

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Also, it results in Broken pipe error on cqlsh. Not sure why socket connection got broken as well. -Vivek On Tue, Oct 9, 2012 at 1:20 PM, Vivek Mishra mishra.v...@gmail.com wrote: Unfortunately nothing in server logs leads me to any error. -Vivek On Tue, Oct 9, 2012 at 1:16 PM, Sylvain

Re: Using compound primary key

2012-10-09 Thread Sylvain Lebresne
On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra mishra.v...@gmail.com wrote: Ok. I am able to understand the problem now. Issue is: If i create a column family altercations as: **8 CREATE

Re: Using compound primary key

2012-10-09 Thread Sylvain Lebresne
On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra mishra.v...@gmail.com wrote: Unfortunately nothing in server logs leads me to any error. Ok. Would you mind checking if you can reproduce against 1.1.5 if you haven't already. If it does, do you mind opening a JIRA ticket with the steps to reproduce?

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
I am going to try it on 1.1.5 In case if you can point me to changes made in between since 1.1.2 to 1.1.5 . It will be great. -Vivek On Tue, Oct 9, 2012 at 1:51 PM, Sylvain Lebresne sylv...@datastax.comwrote: On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra mishra.v...@gmail.com wrote:

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Works fine with 1.1.5 Thanks, -Vivek On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra mishra.v...@gmail.com wrote: I am going to try it on 1.1.5 In case if you can point me to changes made in between since 1.1.2 to 1.1.5 . It will be great. -Vivek On Tue, Oct 9, 2012 at 1:51 PM, Sylvain

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
1 strange issue with 1.1.5 . It works with CQL3: **8 CREATE TABLE altercations ( ...instigator text, ...

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Keyspace: testcomp: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy Durable Writes: true Options: [datacenter1:1] Column Families: ColumnFamily: altercations Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type Default column value

RE: Using compound primary key

2012-10-08 Thread Arindam Barua
Did you use the --cql3 option with the cqlsh command? From: Vivek Mishra [mailto:mishra.v...@gmail.com] Sent: Monday, October 08, 2012 7:22 PM To: user@cassandra.apache.org Subject: Using compound primary key Hi, I am trying to use compound primary key column name and i am referring to: http

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
use the “--cql3” option with the cqlsh command? ** ** *From:* Vivek Mishra [mailto:mishra.v...@gmail.com] *Sent:* Monday, October 08, 2012 7:22 PM *To:* user@cassandra.apache.org *Subject:* Using compound primary key ** ** Hi, ** ** I am trying to use compound primary

Re: Using compound primary key

2012-10-08 Thread Brian O'Neill
: Using compound primary key Hi, I am trying to use compound primary key column name and i am referring to: http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 As mentioned on this example, i tried to create a column family containing compound primary key (one or more

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
@cassandra.apache.org *Subject:* Using compound primary key ** ** Hi, ** ** I am trying to use compound primary key column name and i am referring to: http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 ** ** As mentioned on this example, i tried to create a column family containing