[
https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041049#comment-14041049
]
Sylvain Lebresne commented on CASSANDRA-7396:
---------------------------------------------
It's definitively worth having proper syntactic sugar here imo and that's
really mainly what this issue is about. We can indeed make this sugar generate
a function call behind the scene but we don't need CASSANDRA-7395 per-se to add
such function.
Also, ultimately we can and should make those operator be "efficient" (at least
for map and sets, for lists there is no much we can do) by not querying the
whole CQL row if we don't need to (which amount to extending what
CASSANDRA-7085 will introduce) so we'll almost surely end up with having those
operation being special cased anyway, not just simple function calls.
> 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: API
> Reporter: Jonathan Ellis
> Fix For: 3.0
>
>
> Allow "SELECT map['key]" and "SELECT list[index]." (Selecting a UDT subfield
> is already supported.)
--
This message was sent by Atlassian JIRA
(v6.2#6252)