Cassandra: Using LongType

Posted by TheDeveloper on Stack Overflow See other posts from Stack Overflow or by TheDeveloper
Published on 2010-04-16T21:31:37Z Indexed on 2010/04/16 21:33 UTC
Read the original article Hit count: 473

Filed under:

I'm trying to insert data into a ColumnFamily with "CompareWith" attribute "LongType". However, when trying to insert data under numerical keys, I get a thrift error.

When attempting the same operation with the cassandra-cli program, I get the error "A long is exactly 8 bytes". How can I resolve this? Should I use a different comparison type?

Thanks

© Stack Overflow or respective owner

Related posts about cassandra