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

Jonathan Ellis commented on CASSANDRA-4511:
-------------------------------------------

I'm struggling to think of a use case for indexing map keys. /cc [~pmcfadin] 
[~tupshin]

Also, it occurs to me that we don't need to add new syntax if we did this 
instead:

{code}
SELECT * FROM myTable WHERE 'awesome' IN tags;
{code}

> Secondary index support for CQL3 collections 
> ---------------------------------------------
>
>                 Key: CASSANDRA-4511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4511
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 2.1
>
>         Attachments: 4511.txt
>
>
> We should allow to 2ndary index on collections. A typical use case would be 
> to add a 'tag set<String>' to say a user profile and to query users based on 
> what tag they have.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to