incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Advantage of pre-defining column metadata
Date Tue, 28 Aug 2012 20:40:30 GMT
Setting the metadata will set the validation. If you insert to a
column that is supposed to only INT values Cassandra will reject non
INT data on insert time.

Also comparator can not be changed, you only get once chance to set
the column sorting.


On Tue, Aug 28, 2012 at 3:34 PM, A J <s5alye@gmail.com> wrote:
> For static column family what is the advantage in pre-defining column metadata ?
>
> I can see ease of understanding type of values that the CF contains
> and that clients will reject incompatible insertion.
>
> But are there any major advantages in terms of performance or
> something else that makes it beneficial to define the metadata upfront
> ?
>
> Thanks.

Mime
View raw message