Re: error when creating column family using cql3 and persisting data using thrift

2013-01-16 Thread Kuldeep Mishra
:950) Thanks Kuldeep Mishra On Thu, Jan 17, 2013 at 8:40 AM, aaron morton aa...@thelastpickle.comwrote: The thrift request is not sending a composite type where it should. CQL 3 uses composites in a lot of places. What

getting error for decimal type data

2013-01-28 Thread Kuldeep Mishra
while I an trying to list column family data using cassandra-cli then I am getting following problem for decimal type data, any suggestion will be appreciated. Exception in thread main java.lang.OutOfMemoryError: Java heap space at

Re: getting error for decimal type data

2013-01-29 Thread Kuldeep Mishra
: org.apache.cassandra.io.compress.SnappyCompressor for value of *BIG_DECIMAL is *2.28542855225E-825373481 Thanks Kuldeep On Tue, Jan 29, 2013 at 1:52 PM, Rishabh Agrawal rishabh.agra...@impetus.co.in wrote: Can you provide specs of the column family using describe. *From:* Kuldeep Mishra

Re: cql query not giving any result.

2013-03-15 Thread Kuldeep Mishra
Hi, Is it possible in Cassandra to make multiple column with same name ?, like in this particular scenario I have two column with same name as key, first one is rowkey and second on is column name . Thanks and Regards Kuldeep On Fri, Mar 15, 2013 at 4:05 PM, Kuldeep Mishra kuld.cs.mis

Re: cql query not giving any result.

2013-03-15 Thread Kuldeep Mishra
...@datastax.comwrote: On Fri, Mar 15, 2013 at 11:43 AM, Kuldeep Mishra kuld.cs.mis...@gmail.com wrote: Hi, Is it possible in Cassandra to make multiple column with same name ?, like in this particular scenario I have two column with same name as key, first one is rowkey and second on is column

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);

Getting NullPointerException while executing query

2013-04-10 Thread Kuldeep Mishra
Hi , TABLE - CREATE TABLE CQLUSER ( id int PRIMARY KEY, age int, name text ) Query - select * from CQLUSER where token(name) token(deep); ERROR - Bad Request: Failed parsing statement: [select * from CQLUSER where token(name) token(deep);] reason: NullPointerException

Re: Getting NullPointerException while executing query

2013-04-11 Thread Kuldeep Mishra
: select * from CQLUSER where token(id) token(4) though I don't know if that help in any way for what you aimed to do. -- Sylvain On Wed, Apr 10, 2013 at 9:42 AM, Kuldeep Mishra kuld.cs.mis...@gmail.comwrote: Hi , TABLE - CREATE TABLE CQLUSER ( id int PRIMARY KEY, age int

Added extra column as composite key while creation counter column family

2013-04-14 Thread Kuldeep Mishra
Hi, While I creating counter column family a extra column is being added what I do ? Table creation script CREATE TABLE counters ( key text, value counter, PRIMARY KEY (key) ) WITH COMPACT STORAGE after describing column family I am getting following CREATE TABLE counters ( key text,

Re: Added extra column as composite key while creation counter column family

2013-04-16 Thread Kuldeep Mishra
Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 15/04/2013, at 3:58 PM, Kuldeep Mishra kuld.cs.mis...@gmail.com wrote: Hi, While I creating counter column family a extra column is being added what I do ? Table creation script CREATE

Re: Object mapper for CQL

2014-06-07 Thread Kuldeep Mishra
There is one High Level Java client for Cassandra which supports CQL is Kundera. You can find it here https://github.com/impetus-opensource/Kundera. Other useful links are https://github.com/impetus-opensource/Kundera/wiki/Getting-Started-in-5-minutes