cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hanna <>
Subject Re: Dynamic CF
Date Fri, 06 Jul 2012 20:05:46 GMT
you can use the cqlsh help but it will eventually refer you to a cql reference such as this
one that says what the options are.  Looks like you need just 'default_validation'.

On Jul 6, 2012, at 2:13 PM, Leonid Ilyevsky wrote:

> Can I create a dynamic Cf using cql3? What is the syntax?
> Here is what I tried:
> cqlsh:test> create table mytest (
>         ... asset ascii, datetime int, count int, primary key(asset, datetime) )
>         ...  with default_validation_class = double;
> Bad Request: default_validation_class is not a valid keyword argument for CREATE TABLE
> This email, along with any attachments, is confidential and may be legally privileged
or otherwise protected from disclosure. Any unauthorized dissemination, copying or use of
the contents of this email is strictly prohibited and may be in violation of law. If you are
not the intended recipient, any disclosure, copying, forwarding or distribution of this email
is strictly prohibited and this email and any attachments should be deleted immediately. This
email and any attachments do not constitute an offer to sell or a solicitation of an offer
to purchase any interest in any investment vehicle sponsored by Moon Capital Management LP
(“Moon Capital”). Moon Capital does not provide legal, accounting or tax advice. Any statement
regarding legal, accounting or tax matters was not intended or written to be relied upon by
any person as advice. Moon Capital does not waive confidentiality or privilege as a result
of this email.

View raw message