cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4084) Better validator support for composite comparator CFs
Date Tue, 27 Mar 2012 19:57:26 GMT


Tyler Hobbs commented on CASSANDRA-4084:

After looking things over and getting Sylvain to explain it to me, I think I understand. 
The behavior in 1.1 is, when using a composite comparator, to apply the column validator to
any column where the last component of the column name matches the 'name' field of the ColumnDef.
> Better validator support for composite comparator CFs
> -----------------------------------------------------
>                 Key: CASSANDRA-4084
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Tyler Hobbs
>            Priority: Minor
> Perhaps this should be part of replacing super columns with composites, but we essentially
need something analogous to sub-column validators for when composites are used in a way that's
similar to super columns (multiple fields for each "super column" in a row).  As an example
use case, suppose you have a wide row holding users where the comparator is (<user_id>,
<field>), and <field> might be either "name" or "age"; ideally, you can validate
"name" as UT8Type and "age" as IntegerType.
> Allowing wildcards to be used for components in the column name portion of the ColumnDef
might be a reasonable approach.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message