[
https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224355#comment-15224355
]
Robert Stupp commented on CASSANDRA-7396:
-----------------------------------------
Yea, we cannot support lists as efficiently as maps+sets. I already have code
to deal with frozen collections that does the slice/element selection of these
and just got a first piece of code running with {{addSubSelection}}. (That
could also help with non-frozen UDTs in the future.)
That crazy {{?}} syntax is already gone.
Just noticed, that {{addSubSelection}} seems to return all elements (not just
those within the bounds) but just without the values. Is that behavior correct?
> 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: Robert Stupp
> Labels: cql
> Fix For: 3.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.4#6332)