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

CQL: "drop table if exists" throws exception when table does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.6
    • None
    • Mac OSX Mavericks
      Cassandra 2.0.5

    • Low

    Description

      MacBook-Bro-6:~ brenthaines$ cqlsh
      Connected to Test Cluster at localhost:9160.
      [cqlsh 4.1.1 | Cassandra 2.0.5 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
      Use HELP for help.
      cqlsh> use apps;
      cqlsh:apps> describe table brands;
      
      Column family 'brands' not found
      cqlsh:apps> drop table if exists brands;
      Bad Request: unconfigured columnfamily brands
      cqlsh:apps> 
      

      Attachments

        1. CASSANDRA-2.0-6687.patch
          1 kB
          Mikhail Stepura

        Issue Links

          Activity

            People

              mishail Mikhail Stepura
              thebrenthaines Brent Haines
              Mikhail Stepura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: