cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank LoVecchio <>
Subject Secondary Indexes with TimeUUIDType CF Not Working?
Date Tue, 14 Dec 2010 00:16:25 GMT
I was playing around with secondary indexes in 0.7 RC2 through the command
line, and I can't seem to get them work with a TimeUUIDType Column Family.

For Instance:

create column family TestSecondaryIndexes with comparator = TimeUUIDType
... and column_metadata=[{column_name: uuid_nondexed, validation_class:
... {column_name: year, validation_class: LongType, index_type: KEYS},
... {column_name: month, validation_class: LongType, index_type: KEYS},
... {column_name: day, validation_class: LongType, index_type: KEYS},
.. {column_name: timezone, validation_class: UTF8Type, index_type: KEYS}];

Throws Invalid UUID string: uuid_nondexed.  Using other CF comparator types
worked, even when I changed the uuid_dummy validation_class to something
different than the CF.

Am I missing something or is there not yet support for this comparator type?



View raw message