[
https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192187#comment-17192187
]
Benjamin Lerer edited comment on CASSANDRA-7396 at 9/8/20, 12:48 PM:
---------------------------------------------------------------------
This patch was committed in 4.0-alpha1.
{quote}
Also if I have query
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 ...)
was (Author: blerer):
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: [email protected]
For additional commands, e-mail: [email protected]