RE: issue with querying SuperColumn

2011-06-21 Thread Vivek Mishra
Thanks Richard. You are right. I missed that in key validation class. -Original Message- From: Richard Low [mailto:r...@acunu.com] Sent: Tuesday, June 21, 2011 12:44 PM To: user@cassandra.apache.org Subject: Re: issue with querying SuperColumn You have key validation class UTF8Type for

Re: issue with querying SuperColumn

2011-06-21 Thread Richard Low
You have key validation class UTF8Type for the standard CF, but BytesType for the super. This is why the key is "1" for standard, but printed as "31" for super, which is the hex ascii code for 1. In your java code, use "1".getBytes() as your key and it should work. Richard. -- Richard Low Acun