cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3307) Java JDBC driver fails with DELETE statements
Date Tue, 04 Oct 2011 18:33:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120366#comment-13120366
] 

Jonathan Ellis commented on CASSANDRA-3307:
-------------------------------------------

Ah, that makes sense.

The "right" solution now is to use the schema returned by the server instead (CASSANDRA-2734)
instead of regexing it out of the query.
                
> Java JDBC driver fails with DELETE statements
> ---------------------------------------------
>
>                 Key: CASSANDRA-3307
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3307
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Drivers
>            Reporter: Corey Hulen
>
> The following 2 statements are valid, but fail in the java jdbc driver.
> "DELETE FROM users WHERE KEY = 'user1'"  // missing column should be valid to delete
entire row
> "DELETE test FROM users USING CONSISTENCY QUORUM WHERE KEY = 'user1'" // Should be valid
to pass consistency level to a delete statment

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message