Hi, 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=['1.1.1.1']) >>> 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 1.1.1.1 cqlsh:usertable> use usertable; cqlsh:usertable> select KEY from data where KEY='7573657232323132333035343936323937363138343433'; KEY ------------------------------------------------ 7573657232323132333035343936323937363138343433 cqlsh:usertable> what should I do to get the field through pycassa API. thanks pradeep