Hi Tyler,

Thanks, I didn't get your response regarding this post on pycassa group. I will check my subscription.


On Tue, Feb 5, 2013 at 11:23 AM, Tyler Hobbs <tyler@datastax.com> wrote:
I answered this here: https://groups.google.com/forum/?fromgroups=#!topic/pycassa-discuss/9-GzSPEJqPU

You may want to check your subscription to the pycassa mailing list; it seems like you're not getting my responses for some reason.

On Tue, Feb 5, 2013 at 12:20 PM, Pradeep Kumar Mantha <pradeepm66@gmail.com> wrote:

I am trying to read fields using pycassa api. But seems like I am missing something and not getting expected results.

>>> pool = pycassa.ConnectionPool('usertable', server_list=[''])
>>> cf = pycassa.ColumnFamily(pool, 'data')
>>> cf.get('7573657232323132333035343936323937363138343433')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/global/homes/p/pmantha/mypython_repo/lib/python2.7/site-packages/pycassa/columnfamily.py", line 655, in get
    raise NotFoundException()
pycassa.cassandra.ttypes.NotFoundException: NotFoundException(_message=None)

Whereas I can retrieve the same value using cqlsh.

> cqlsh 
cqlsh:usertable> use usertable;
cqlsh:usertable> select KEY from data where KEY='7573657232323132333035343936323937363138343433';


what should I do to get the field through pycassa API.


Tyler Hobbs