Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5416

Support CQL map and list deletes within an update statement

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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].

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikeschrag Mike Schrag
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: