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

Benjamin Lerer commented on CASSANDRA-7396:
-------------------------------------------

This patch was committed in 4.0-alpha1.

Also if I have query
{quote}
select col1, col2, col3 from table A

v/s 

select map['keycol1'],map['keycol2'],map['keycol3'] from table A

Would both the queries have equivalent performance ?
{quote}

It might vary base on your particuliar use case (e.g the type of collection 
frozen/unfrozen, the elements within ...) 

> Allow selecting Map values and Set elements
> -------------------------------------------
>
>                 Key: CASSANDRA-7396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7396
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Legacy/CQL
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>            Priority: Normal
>              Labels: cql
>             Fix For: 4.0, 4.0-alpha1
>
>         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
(v8.3.4#803005)

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

Reply via email to