[
https://issues.apache.org/jira/browse/CASSANDRA-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Stupp updated CASSANDRA-7396:
------------------------------------
Labels: cql docs-impacting (was: cql)
Status: Patch Available (was: Open)
[Branch|https://github.com/apache/cassandra/compare/trunk...snazy:7396-coll-slice]
[utests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-7396-coll-slice-testall/lastSuccessfulBuild/]
[dtests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-7396-coll-slice-dtest/lastSuccessfulBuild/]
{{serializeForNativeProtocol}} is now back in {{CollectionType}}
implementations.
Unlike described in my earlier comment, the return type of single element
selections is just the set/list element resp. map value type.
The updated patch also contains select/slice support for LWTs and deletions.
Unfortunately it requires a read-before-write for slice deletions for sets and
maps - I could not find a functionality to add a “slice tombstone” and
RangeTombstone does only seem to support deletion of a range of (CQL) rows but
not for a range of a single column’s CellPaths.
> 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, docs-impacting
> 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)