Re: cql3 and cli composites columns

2012-10-07 Thread Cyril Auburtin
Thanks Aaron, I don't understand what is the cli equivalent of: CREATE TABLE timeline ( user_id varchar, tweet_id bigint, author varchar, body varchar, PRIMARY KEY (user_id, tweet_id) ); 2012/10/3 aaron morton aa...@thelastpickle.com

Re: cql3 and cli composites columns

2012-10-07 Thread Tupshin Harper
Once you have created the CF from cqlsh, switch over to cassandra-cli and run describe schema. It will show you the schema for all your column families in syntax that can be passed back into cassandra-cli to create them. The cassandr-cli syntax that you are looking for is probably the and

Re: cql3 and cli composites columns

2012-10-03 Thread aaron morton
If it's just a printing issue it's really minor though I would guess because timeline CF has defined columns and line CF does not. All cqlsh knows is that every column name has two parts, it does not know what the column names will be. The difference between a static and dynamic CF. Hope