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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13025899#comment-13025899 ] 

Hudson commented on CASSANDRA-2570:
-----------------------------------

Integrated in Cassandra-0.8 #46 (See [https://builds.apache.org/hudson/job/Cassandra-0.8/46/])
    validate cql TRUNCATE columnfamily before truncating
patch by Pavel Yaskevich and jbellis for CASSANDRA-2570


> 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
>          Components: API
>    Affects Versions: 0.8 beta 1
>            Reporter: Cathy Daw
>            Assignee: Pavel Yaskevich
>            Priority: Trivial
>              Labels: cql
>             Fix For: 0.8.0
>
>         Attachments: CASSANDRA-2570-v2-0.8.patch, CASSANDRA-2570-v2-trunk.patch, CASSANDRA-2570.patch
>
>
> 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