[
https://issues.apache.org/jira/browse/CASSANDRA-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/CASSANDRA-891
> 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.