You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cathy Daw (JIRA)" <ji...@apache.org> on 2011/04/26 23:26:03 UTC

[jira] [Updated] (CASSANDRA-2570) CQL: incorrect error message running truncate on CF that does not exist

     [ https://issues.apache.org/jira/browse/CASSANDRA-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cathy Daw updated CASSANDRA-2570:
---------------------------------

    Description: 
Run truncate on a CF that does not exist. The error message is misleading.

*CQLSH*
{code}
cqlsh> truncate aaaa;
Unable to complete request: one or more nodes were unavailable.
{code}

*cassandra-cli*
{code}
[default@cqldb] truncate aaaaaaaaa;
aaaaaaaaa not found in current keyspace.
{code}

  was:
Run truncate on a CF that does not exist. The error message is misleading.

{code}
cqlsh> truncate aaaa;
Unable to complete request: one or more nodes were unavailable.
{code}


> CQL: incorrect error message running truncate on CF that does not exist
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-2570
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2570
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8 beta 1
>            Reporter: Cathy Daw
>            Priority: Trivial
>              Labels: cql
>
> Run truncate on a CF that does not exist. The error message is misleading.
> *CQLSH*
> {code}
> cqlsh> truncate aaaa;
> Unable to complete request: one or more nodes were unavailable.
> {code}
> *cassandra-cli*
> {code}
> [default@cqldb] truncate aaaaaaaaa;
> aaaaaaaaa not found in current keyspace.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira