Re: Bulk loading into CQL3 Composite Columns

2013-05-31 Thread Daniel Morton
@cassandra.apache.org user@cassandra.apache.org Date: Thursday, May 30, 2013 1:06 PM To: user@cassandra.apache.org user@cassandra.apache.org Subject: Bulk loading into CQL3 Composite Columns Hi All. I am trying to bulk load some data into a CQL3 table using the sstableloader utility and I am having some

Re: Bulk loading into CQL3 Composite Columns

2013-05-31 Thread Hiller, Dean
@cassandra.apache.org Date: Thursday, May 30, 2013 4:33 PM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Re: Bulk loading into CQL3 Composite Columns Hi Keith... Thanks for the help. I'm presently not importing

Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
Hi All. I am trying to bulk load some data into a CQL3 table using the sstableloader utility and I am having some difficulty figuring out how to use the SSTableSimpleUnsortedWriter with composite columns. I have created this simple contrived table for testing: create table test (key varchar,

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
@cassandra.apache.orgmailto:user@cassandra.apache.org Date: Thursday, May 30, 2013 1:06 PM To: user@cassandra.apache.orgmailto:user@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Bulk loading into CQL3 Composite Columns Hi All. I am trying to bulk load some data into a CQL3

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
@cassandra.apache.org Subject: Re: Bulk loading into CQL3 Composite Columns You do not want to repeat the first item of your primary key again. If you recall, in CQL3 a primary key as defined below indicates that the row key is the first item (key) and then the column names are composites of val1

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Edward Capriolo
()); ssTableWriter.addColumn( CompositeSerializer.get().toByteBuffer(columnComposite), null, System.currentTimeMillis() ); From: Keith Wright kwri...@nanigans.com Date: Thursday, May 30, 2013 3:32 PM To: user@cassandra.apache.org user@cassandra.apache.org Subject: Re: Bulk loading into CQL3 Composite Columns You

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
, May 30, 2013 1:06 PM To: user@cassandra.apache.org user@cassandra.apache.org Subject: Bulk loading into CQL3 Composite Columns Hi All. I am trying to bulk load some data into a CQL3 table using the sstableloader utility and I am having some difficulty figuring out how to use

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
...@nanigans.com Date: Thursday, May 30, 2013 3:32 PM To: user@cassandra.apache.org user@cassandra.apache.org Subject: Re: Bulk loading into CQL3 Composite Columns You do not want to repeat the first item of your primary key again. If you recall, in CQL3 a primary key as defined below indicates

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
@cassandra.apache.org user@cassandra.apache.orgmailto:user@cassandra.apache.org Subject: Re: Bulk loading into CQL3 Composite Columns Hi Keith... Thanks for the help. I'm presently not importing the Hector library (Which is where classes like CompositeSerializer and StringSerializer come from, yes