Re: Querying a composite key with cassandra-cli

2011-08-30 Thread Anthony Ikeda
No problems. Anthony On Tue, Aug 30, 2011 at 9:31 AM, Jonathan Ellis wrote: > Sounds like a bug. Can you create a ticket on > https://issues.apache.org/jira/browse/CASSANDRA ? > > On Tue, Aug 30, 2011 at 11:28 AM, Anthony Ikeda > wrote: > > One thing I have noticed is that when you query via

Re: Querying a composite key with cassandra-cli

2011-08-30 Thread Jonathan Ellis
Sounds like a bug. Can you create a ticket on https://issues.apache.org/jira/browse/CASSANDRA ? On Tue, Aug 30, 2011 at 11:28 AM, Anthony Ikeda wrote: > One thing I have noticed is that when you query via the cli with an invalid > "assume" you no longer get the MarshalException beyond 0.8.1, it j

Re: Querying a composite key with cassandra-cli

2011-08-30 Thread Anthony Ikeda
One thing I have noticed is that when you query via the cli with an invalid "assume" you no longer get the MarshalException beyond 0.8.1, it just states "null" Any chance this could be more user friendly? It kind of stumped me when I switched to 0.8.4. Anthony On Mon, Aug 29, 2011 at 2:35 PM, A

Re: Querying a composite key with cassandra-cli

2011-08-29 Thread Anthony Ikeda
Yeah I figured out what happened. I inadvertently set the keys to utf8 on the column family: assume ColumnFamily keys as utf8; which broke whichever default mechanism was in place to perform the colon separated values for the Composite key. When I restarted cassandra-cli, the query worked again.

Re: Querying a composite key with cassandra-cli

2011-08-29 Thread Jonathan Ellis
Sounds like you need to specify a key_validation_class so the cli knows how to encode the key. (It used to assume keys were always ascii.) On Mon, Aug 29, 2011 at 4:02 PM, Anthony Ikeda wrote: > Is there currently a way to query a composite key in cassandra-cli? > I was sure I used to be able to

Querying a composite key with cassandra-cli

2011-08-29 Thread Anthony Ikeda
Is there currently a way to query a composite key in cassandra-cli? I was sure I used to be able to call: get ColumnFamily['comp1:comp2'] But this has recently stopped working. Anthony