incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: predefining columns
Date Mon, 18 Apr 2011 18:37:28 GMT
if it's not set it will be the BytesTypes where validation is a no-op. 

IMHO best to keep that validation in your app.

Aaron 

On 19 Apr 2011, at 01:30, Sasha Dolgy wrote:

> So, in the instance of a simple CF for user data:
> 
> username
> fullname
> birthdate
> 
> If birthdate is unix timestamp, it wont need the UTF8 validator.  The
> other 2 columns could.  Does this then mean that a default should
> -not- be set for the column family?
> 
> -sd
> 
> On Mon, Apr 18, 2011 at 3:27 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
>> No.
>> 
>> But, it is not recommended to mix default_validation_class and column
>> definitions. If you have a relatively static set of columns, column
>> definitions are recommended.


Mime
View raw message