Aleksey Yeschenko created CASSANDRA-5016:
--------------------------------------------

             Summary: Can't prepare an INSERT query
                 Key: CASSANDRA-5016
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5016
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.0 beta 2
            Reporter: Aleksey Yeschenko
            Assignee: Sylvain Lebresne


Preparing an INSERT query fails with CQL3+binary protocol (maybe thrift as 
well, haven't checked). Preparing an equivalent UPDATE query works just fine.

demo (id int primary key, value text)
preparing "INSERT INTO test.demo (id, value) VALUES (?, ?)" -> 8704, Invalid 
definition for id, not a collection type
prparing "UPDATE test.demo SET value = ? WHERE id = ?" -> ok

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

Reply via email to