Re: describe keyspace or column family query not working

2013-04-11 Thread aaron morton
tables created without COMPACT STORAGE are still visible in cassandra-cli. Cheers - Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 11/04/2013, at 5:40 AM, Tyler Hobbs ty...@datastax.com wrote: On Wed, Apr 10, 2013 at

describe keyspace or column family query not working

2013-04-10 Thread Kuldeep Mishra
Hi , I am trying to execute following query but not working and throwing exception QUERY:-- Cassandra.Client client; client.execute_cql3_query(ByteBuffer.wrap(describe keyspace mykeyspace.getBytes(Constants.CHARSET_UTF8)), Compression.NONE, ConsistencyLevel.ONE);

Re: describe keyspace or column family query not working

2013-04-10 Thread Tyler Hobbs
DESCRIBE is a cqlsh feature, not a part of the CQL language. On Wed, Apr 10, 2013 at 2:37 AM, Kuldeep Mishra kuld.cs.mis...@gmail.comwrote: Hi , I am trying to execute following query but not working and throwing exception QUERY:-- Cassandra.Client client;

Re: describe keyspace or column family query not working

2013-04-10 Thread Vivek Mishra
Ok. A column family and keyspace created via cqlsh using cql3 is visible via cassandra-cli or thrift API? -Vivek On Wed, Apr 10, 2013 at 9:23 PM, Tyler Hobbs ty...@datastax.com wrote: DESCRIBE is a cqlsh feature, not a part of the CQL language. On Wed, Apr 10, 2013 at 2:37 AM, Kuldeep

Re: describe keyspace or column family query not working

2013-04-10 Thread Tyler Hobbs
On Wed, Apr 10, 2013 at 11:09 AM, Vivek Mishra mishra.v...@gmail.comwrote: Ok. A column family and keyspace created via cqlsh using cql3 is visible via cassandra-cli or thrift API? The column family will only be visible via cassandra-cli and the Thrift API if it was created WITH COMPACT