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

CONTAINS and CONTAINS KEY support for Lightweight Transactions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: Legacy/CQL
    • Labels:

      Description

      Conditional updates currently do not support CONTAINS and CONTAINS KEY conditions. Queries such as

      UPDATE mytable SET somefield = 4 WHERE pk = 'pkv' IF set_column CONTAINS 5;

      are not possible.

      Would it also be possible to support the negation of these (ex. testing that a value does not exist inside a set)?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nemothekid Nimi Wariboko Jr.
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: