Hi, everybody!
Im triyng to create a column family with TimeUUIDType as name of row
create column family users
with column_type = 'Standard'
and comparator = 'TimeUUIDType'
and default_validation_class = 'UTF8Type'
and key_validation_class = 'UTF8Type'
and memtable_operations = 0.290625
and memtable_throughput = 62
and memtable_flush_after = 1440
and rows_cached = 0.0
and row_cache_save_period = 0
and keys_cached = 200000.0
and key_cache_save_period = 14400
and read_repair_chance = 1.0
and gc_grace = 864000
and min_compaction_threshold = 4
and max_compaction_threshold = 32
and replicate_on_write = true
and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
and column_metadata=[
{column_name: allias, validation_class: UTF8Type, index_type: KEYS, index_name: allias},
{column_name: st_user_id, validation_class: TimeUUIDType, index_type: KEYS, index_name: st_user_id},
{column_name: vk_user_id, validation_class: LongType, index_type: KEYS, index_name: vk_user_id},
{column_name: fb_user_id, validation_class: LongType, index_type: KEYS, index_name: fb_user_id},
{column_name: mw_user_id, validation_class: LongType, index_type: KEYS, index_name: mw_user_id},
{column_name: ok_user_id, validation_class: LongType, index_type: KEYS, index_name: ok_user_id},
{column_name: vk_first_name, validation_class: UTF8Type},
{column_name: vk_last_name, validation_class: UTF8Type},
{column_name: fb_first_name, validation_class: UTF8Type},
{column_name: fb_last_name, validation_class: UTF8Type},
{column_name: mw_first_name, validation_class: UTF8Type},
{column_name: mw_last_name, validation_class: UTF8Type},
{column_name: ok_first_name, validation_class: UTF8Type},
{column_name: ok_last_name, validation_class: UTF8Type},
{column_name: ok_last_name, validation_class: UTF8Type},
{column_name: st_rating, validation_class: IntegerType},
{column_name: vk_rating, validation_class: IntegerType},
{column_name: fb_rating, validation_class: IntegerType},
{column_name: mw_rating, validation_class: IntegerType},
{column_name: ok_rating, validation_class: IntegerType},
{column_name: st_money, validation_class: IntegerType},
{column_name: vk_money, validation_class: IntegerType},
{column_name: fb_money, validation_class: IntegerType},
{column_name: mw_money, validation_class: IntegerType},
{column_name: ok_money, validation_class: IntegerType},
{column_name: banned, validation_class: BooleanType},
{column_name: mail, validation_class: UTF8Type},
{column_name: password, validation_class: UTF8Type},
{column_name: last_visit, validation_class: DateType},
{column_name: registered, validation_class: DateType},
];
But im getting an exception:
org.apache.cassandra.db.marshal.MarshalException: unable to coerce 'allias' to v
ersion 1 UUID
What i am doing wrong? thanks for any help!!
