Here is the column family script: CREATE COLUMNFAMILY "CompositeUserDataTypes" ("tweetBody" text ,"tweetDate" timestamp ,"STUDENT_ID" bigint ,"SEMESTER" text ,"STUDENT_NAME" text ,"CGPA" int ,"DIGITAL_SIGNATURE" blob ,"ENROLMENT_DATE" timestamp ,"HEIGHT" double ,"MONTHLY_FEE" double ,"JOINING_DATE_TIME" timestamp ,"CALENDAR" timestamp ,"IS_EXCEPTIONAL" boolean ,"ENROLMENT_TIME" timestamp ,"YEARS_SPENT" int ,"AGE" int ,"SQL_DATE" timestamp ,"ROLL_NUMBER" bigint ,"UNIQUE_ID" bigint ,"BIG_INT" int ,"SQL_TIME" timestamp ,"PERCENTAGE" float ,"SQL_TIMESTAMP" timestamp , PRIMARY KEY("STUDENT_ID" ,"UNIQUE_ID" ,"STUDENT_NAME" ,"IS_EXCEPTIONAL" ,"AGE" ,"SEMESTER" ,"DIGITAL_SIGNATURE" ,"CGPA" ,"PERCENTAGE" ,"HEIGHT" ,"ENROLMENT_DATE" ,"ENROLMENT_TIME" ,"JOINING_DATE_TIME" ,"YEARS_SPENT" ,"ROLL_NUMBER" ,"MONTHLY_FEE" ,"SQL_DATE" ,"SQL_TIMESTAMP" ,"SQL_TIME" ,"BIG_INT" ,"CALENDAR" )) WITH replicate_on_write=true AND max_compaction_threshold=64 AND min_compaction_threshold=16 AND comment='User Column Family'
-Vivek On Sun, Nov 4, 2012 at 10:17 AM, Vivek Mishra <mishra.v...@gmail.com> wrote: > Hi, > I am trying to create column family with > "*max_compaction_threshold<http://www.datastax.com/docs/1.1/configuration/storage_configuration#max-compaction-threshold>" > and "*min_compaction_threshold" as storage properties, but somehow i am > getting: > > > Bad Request: max_compaction_threshold is not a valid keyword argument for > CREATE TABLE > Bad Request: min_compaction_threshold is not a valid keyword argument for > CREATE TABLE > > > As per > http://www.datastax.com/docs/1.1/references/cql/cql_storage_options#cql-3-column-family-storage-parameters > > It should work for Cassandra 1.1.5 and Cassandra 1.1.6. Any idea? > > > > -Vivek >