cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hermes (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-891) Add ValidateWith to CF definitions
Date Mon, 23 Aug 2010 14:50:16 GMT


Jon Hermes updated CASSANDRA-891:

    Attachment: 891.txt

CfDefs get a 'default_validation_class' (which is currently the same AbstractTypes as compare_with).
ThriftValidation first checks a columndef for a validator, then falls back to the cfdef for
a default_validator, then uses BytesType (no-op).

DefsTest updated, and another thrift system test added.

> Add ValidateWith to CF definitions
> ----------------------------------
>                 Key: CASSANDRA-891
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jon Hermes
>            Priority: Minor
>             Fix For: 0.7 beta 2
>         Attachments: 891.txt
> VW would take an AbstractType like CompareWith and validate the data on insert.  Should
default to BytesType (i.e. no-op).
> This would have the side effect of giving the CLI enough information about values to
parse and display them intelligently rather than just hex byte values.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message