David Capwell created CASSANDRA-20163:
-----------------------------------------

             Summary: DELETE partition IF static column is rejected
                 Key: CASSANDRA-20163
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20163
             Project: Apache Cassandra
          Issue Type: Bug
          Components: CQL/Semantics
            Reporter: David Capwell


{code}
CREATE TABLE tbl (
 pk int,
 ck int,
 s0 int,
 v0 int,
 PRIMARY KEY (pk, ck)
);

DELETE
FROM tbl
WHERE pk = ?
IF s0 = ?
{code}

The above fails with the exception

{code}
DELETE statements must restrict all PRIMARY KEY columns with equality relations 
in order to delete non static columns
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to