0

I've been using cassandra-cli and have been trying to create a column family with the key as type TimeUUIDType.

CREATE COLUMN FAMILY users WITH COMPARATOR = UTF8Type AND key_validation_class = TimeUUIDType;

Whenever I use this command I get the following error...

No enum constant org.apache.cassandra.cli.CliUserHelp.ColumnFamilyArguement.KEY_VALIDATION_CLASS

How do I ever set the key validation class when creating a column family using cassandra cli?

mesh
  • 923
  • 2
  • 10
  • 15

1 Answers1

4

Key validation wasn't added to Cassandra until 0.8.

https://issues.apache.org/jira/browse/CASSANDRA-2311

nickmbailey
  • 3,674
  • 15
  • 14