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

Robert Stupp commented on CASSANDRA-7396:
-----------------------------------------

As discussed offline with Benjamin, let's keep it as it is.
Note for other readers: Adding _any_ restriction after a slice restriction is 
effectively pointless. For example, {{m\[1..\]\[..2\]}} can and should be 
written as {{m\[1..2\]}}, {{m\[1..\]\[2\]}} as {{m\[1..\]}}.

Therefore: +1, ship it!

> Allow selecting Map key, List index
> -----------------------------------
>
>                 Key: CASSANDRA-7396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7396
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>              Labels: cql, docs-impacting
>             Fix For: 4.x
>
>         Attachments: 7396_unit_tests.txt
>
>
> Allow "SELECT map['key]" and "SELECT list[index]."  (Selecting a UDT subfield 
> is already supported.)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to