[ 
https://issues.apache.org/jira/browse/CASSANDRA-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239611#comment-13239611
 ] 

Sylvain Lebresne commented on CASSANDRA-4084:
---------------------------------------------

Sorry, there is some confusion. What I've described in my preceding comment 
works *today*. It was introduced as part of CASSANDRA-2474. And yes, this ends 
up setting ColumnDef under the hood but the point is that this is way more 
human readable. What I am saying is that as far as I can tell, everything 
you've described so far in that ticket is already handled. At least the 
'multiple fields for each "super column" in a row' case is definitively already 
handled by CQL3.
                
> Better validator support for composite comparator CFs
> -----------------------------------------------------
>
>                 Key: CASSANDRA-4084
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4084
>             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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to