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

CREATE TABLE error message swaps table and keyspace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.6
    • None
    • None
    • CQLSH 3.0 on Ubuntu Linux 12.04 LTS

    Description

      When trying to create an existing table, CQLSH rightfully complains in a weird way:

      USE blink;
      CREATE TABLE tags ( tag ascii PRIMARY KEY, type ascii, label varchar, rel map<ascii, ascii> )

      Bad Request: Cannot add already existing column family "blink" to keyspace "tags"

      Keyspace and table names are swapped.

      Attachments

        Activity

          People

            jbellis Jonathan Ellis
            lexlythius Lex Lythius
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: