incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monosij Dutta-Roy <monosij.for...@gmail.com>
Subject few newbie questions
Date Mon, 09 Sep 2013 03:45:42 GMT
Hi - New to Cassandra and with SQL background.

Hope this is the right list for these questions.

...
Q.1:
Regards PRIMARY KEY setup.

In docs I have seen I see PRIMARY KEY is setup as part of CREATE TABLE
definition along with the column (or field).

Is there a way to setup PRIMAY KEY as part of a separate command AFTER the
CREATE TABLE creates the table?

Kind of like ' ALTER TABLE ADD PRIMARY KEY ...'

I can't seem to find any doc around it. Would it be possible to do in
Cassandra 2.0?

...
Q.2:
I am trying to get a situation where I can run CQL commands from a file. If
you could point me to what may be the best way to do this would be great!

...
Q.3:
Also trying to locate Salt or Puppet config files to run to setup
Cassandra. Are there some pre-baked 'recipes' available. I will ask this
ques on Saltstack as well.

Thank you.

Mono

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message