You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2013/08/23 19:59:54 UTC

[jira] [Resolved] (CASSANDRA-5416) Support CQL map and list deletes within an update statement

     [ https://issues.apache.org/jira/browse/CASSANDRA-5416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Yeschenko resolved CASSANDRA-5416.
------------------------------------------

    Resolution: Duplicate

You can use mylist[index] = null or mymap[key] = null in UPDATE for that.
                
> Support CQL map and list deletes within an update statement
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-5416
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5416
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 1.2.3
>            Reporter: Mike Schrag
>            Priority: Minor
>
> Currently in CQL3, you can only issue a map or list delete from a delete statement, which is kind of a bummer, because it means you need to span two statements to perform, say, a non-collection column update along with a map-delete.
> It would be nice if the set removal syntax was just interpreted as key names for a map, or element values for a list. Removal by list index is a slightly funkier case, but you could do something like listValue - [1,2,3].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira