cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5416) Support CQL map and list deletes within an update statement
Date Fri, 23 Aug 2013 17:59:54 GMT

     [ 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

Mime
View raw message