RE: Problem using sstableloader with SSTableSimpleUnsortedWriter and a composite key

2013-06-30 Thread Peer, Oded
Thank you Aaaron! Your blog post helped me understand how a row with a compound key is stored and this helped me understand how to create the sstable files. For anyone who needs it this is how it works: In Cassandra-cli the row looks like this: RowKey: 5 => (column=10:created, value=013f84be

Re: Problem using sstableloader with SSTableSimpleUnsortedWriter and a composite key

2013-06-27 Thread aaron morton
> create table test_table ( k1 bigint, k2 bigint, created timestamp, PRIMARY > KEY (k1, k2) ) with compaction = { 'class' : 'LeveledCompactionStrategy' }; When CQL creates a non COMPACT STORAGE (http://www.datastax.com/docs/1.2/cql_cli/cql/CREATE_TABLE#using-compact-storage) table it uses comp