incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Stump <mrevilgn...@gmail.com>
Subject Dynamic column families
Date Tue, 13 Dec 2011 21:46:24 GMT
If I create a column family with a comparator of:

 DynamicCompositeType(a=>UTF8Type,b=>UTF8Type,c=>UTF8Type,t=>TimeUUIDType) 

Can I do an insert that has a column where a,b,c,t are set and an insert with a,b,t are set,
or must I always set values for colums a,b,c,t? 

If I must always set values for all columns is that also true for dynamic column families
where I have not defined column types?

On a side note attempting to do the following results in NULL being returned by the CLI which
is probably a bug?

SET test['package_tags']['a@foo:t@b70801d0-2232-11e1-bfc2-0800200c9a66'] = '[\'libxslt\']';
SET test['package_tags']['a@foo:b@bar:t@0cb0d2a0-25c7-11e1-bfc2-0800200c9a66'] = '[\'libxslt\']';
Mime
View raw message