You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2014/02/11 01:52:19 UTC

[jira] [Commented] (CASSANDRA-6687) CQL: "drop table if exists" throws exception when table does not exist

    [ https://issues.apache.org/jira/browse/CASSANDRA-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897370#comment-13897370 ] 

Mikhail Stepura commented on CASSANDRA-6687:
--------------------------------------------

{{.DropTableStatement.checkAccess(ClientState)}} doesn't handle the case if the table doesn't exist

> CQL: "drop table if exists" throws exception when table does not exist
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-6687
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6687
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Mac OSX Mavericks
> Cassandra 2.0.5
>            Reporter: Brent Haines
>            Assignee: Mikhail Stepura
>              Labels: 2.0.5
>
> {code}
> 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> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)