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 wrote: > > On Wed, Apr 10, 2013 at 11:09 AM, Vivek Mish

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 wrote: > 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 STORAGE: http://www.datas

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 wrote: > "DESCRIBE" is a cqlsh feature, not a part of the CQL language. > > > On Wed, Apr 10, 2013 at 2:37 AM, Kuldeep Mishra > wrote:

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 wrote: > Hi , > I am trying to execute following query but not working and throwing > exception > > QUERY:-- > Cassandra.Client client; > client.execute_cql3_query(ByteBuf

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); client.exe