Brandon Williams created CASSANDRA-4477:
-------------------------------------------
Summary: cql3: defining more than one pk should be invalid
Key: CASSANDRA-4477
URL: https://issues.apache.org/jira/browse/CASSANDRA-4477
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.2
Reporter: Brandon Williams
Assignee: Sylvain Lebresne
dtests caught this on trunk:
{noformat}
File "/var/lib/buildbot/cassandra-dtest/cql_tests.py", line 277, in
create_invalid_test
assert_invalid(cursor, "CREATE TABLE test (key1 text PRIMARY KEY, key2 text
PRIMARY KEY)")
File "/var/lib/buildbot/cassandra-dtest/assertions.py", line 31, in
assert_invalid
assert False, "Expecting query to be invalid"
AssertionError: Expecting query to be invalid
{noformat}
--
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