cassandra-user mailing list archives

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

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;
        c1.name = "12345678";
        c1.value = SString(len).AsPtr();
        c1.timestamp = curTime;
        columns.push_back(c1);

Any help on this would be appreciated.

Thank you,
Jaydeep

Mime
View raw message