Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread yikes bigdata
Ah that works. Thanks everyone for the help. On Thu, Jun 16, 2011 at 9:04 AM, Konstantin Naryshkin wrote: > The second error (the CQL select) is because you have different Key > Validation Class values for your two user columns. users is > org.apache.cassandra.db.marshal.BytesType, > while us

Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread Konstantin Naryshkin
The second error (the CQL select) is because you have different Key Validation Class values for your two user columns. users is org.apache.cassandra.db.marshal.BytesType, while users2 is org.apache.cassandra.db.marshal.UTF8Type. The select is failing because you are comparing a String to a bu

Re: Unable to access column family in CLI after building CF in CQL

2011-06-16 Thread Jonathan Ellis
If you create CFs outside the cli, you may need to restart it to refresh its internal cache of the schema. On Thu, Jun 16, 2011 at 8:51 AM, yikes bigdata wrote: > Hi, > I was following the CQL example on the DataStax website and was able to > create a new column family and query it. But when I vi