[jira] [Updated] (CASSANDRA-5832) DELETE CAS on 'primary key only' table

2018-05-11 Thread Jeremy Hanna (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Hanna updated CASSANDRA-5832:

Labels: LWT  (was: )

> DELETE CAS on 'primary key only' table
> --
>
> Key: CASSANDRA-5832
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5832
> Project: Cassandra
>  Issue Type: Improvement
>Affects Versions: 2.0 beta 2
>Reporter: Blair Zajac
>Priority: Minor
>  Labels: LWT
>
> Following up on the "CAS on 'primary key only' table" issue [1] which added 
> support for atomically creating a primary key only table, this ticket is 
> requesting support for a CAS DELETE of a row from such a table.
> Currently these two different statements fail:
> Trying "DELETE FROM test1 WHERE k = 456 IF EXISTS" using cassandra-dbapi2:
> cql.apivalues.ProgrammingError: Bad Request: line 0:-1 no viable alternative 
> at input ''
> Trying "DELETE FROM test1 WHERE k = 456 IF k = 456"
> cql.apivalues.ProgrammingError: Bad Request: PRIMARY KEY part k found in SET 
> part
> [1] https://issues.apache.org/jira/browse/CASSANDRA-5715



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-5832) DELETE CAS on 'primary key only' table

2013-08-07 Thread Jonathan Ellis (JIRA)

 [ 
https://issues.apache.org/jira/browse/CASSANDRA-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-5832:
--

Since Version: 2.0 beta 1

 DELETE CAS on 'primary key only' table
 --

 Key: CASSANDRA-5832
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5832
 Project: Cassandra
  Issue Type: Improvement
  Components: Core
Affects Versions: 2.0 beta 2
Reporter: Blair Zajac
Priority: Minor

 Following up on the CAS on 'primary key only' table issue [1] which added 
 support for atomically creating a primary key only table, this ticket is 
 requesting support for a CAS DELETE of a row from such a table.
 Currently these two different statements fail:
 Trying DELETE FROM test1 WHERE k = 456 IF EXISTS using cassandra-dbapi2:
 cql.apivalues.ProgrammingError: Bad Request: line 0:-1 no viable alternative 
 at input 'EOF'
 Trying DELETE FROM test1 WHERE k = 456 IF k = 456
 cql.apivalues.ProgrammingError: Bad Request: PRIMARY KEY part k found in SET 
 part
 [1] https://issues.apache.org/jira/browse/CASSANDRA-5715

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