[
https://issues.apache.org/jira/browse/CASSANDRA-20163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Capwell updated CASSANDRA-20163:
--------------------------------------
Resolution: Won't Fix
Status: Resolved (was: Open)
closing as work fix. Thanks for the review Blake!
> 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
> Assignee: David Capwell
> Priority: Normal
> Fix For: 4.0.x
>
> Attachments:
> ci_summary-trunk-5f03036ec958d96af0ab94f06f7e61291ecda94b.html,
> result_details-trunk-5f03036ec958d96af0ab94f06f7e61291ecda94b.tar.gz
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {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]