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

Reply via email to