Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4477

cql3: defining more than one pk should be invalid

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      dtests caught this on trunk:

        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
      

        Attachments

        1. 4477.txt
          4 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              brandon.williams Brandon Williams
              Authors:
              Sylvain Lebresne
              Reviewers:
              Pavel Yaskevich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: