cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaydeep Chovatia <>
Subject Cassandra LongType data insertion problem
Date Tue, 04 Jan 2011 22:32:01 GMT

I have configured Cassandra Column Family (standard CF) of LongType. If I try to insert data
(using batch_mutate) in this Column Family then it shows me following error: "A long is exactly
8 bytes". I have tried assigning column name of 8 bytes, 7 bytes, etc. but it shows same error.

Please find my sample program details:
Platform: Linux
Language: C++, Cassandra Thrift interface

        Column c1; = "12345678";
        c1.value = SString(len).AsPtr();
        c1.timestamp = curTime;

Any help on this would be appreciated.

Thank you,

View raw message