cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9585) Make "truncate table X" an alias for "truncate X"
Date Fri, 11 Sep 2015 07:34:46 GMT

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

Benjamin Lerer updated CASSANDRA-9585:
--------------------------------------
    Attachment: 9585-3.0-V1.txt
                9585-2.2-V1.txt

The patches bump the CQL version to 3.3.1.

* the unit test results for 2.1 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-2.1-testall/6/]
* the dtest results for 2.1 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-2.1-dtest/4/]
* the unit test results for 2.2 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-2.2-testall/1/]
* the dtest results for 2.2 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-2.2-dtest/1/]
* the unit test results for 3.0 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-3.0-testall/1/]
* the dtest results for 3.0 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-9585-3.0-dtest/1/]

> Make "truncate table X" an alias for "truncate X"
> -------------------------------------------------
>
>                 Key: CASSANDRA-9585
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9585
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: J.B. Langston
>            Assignee: Benjamin Lerer
>            Priority: Trivial
>              Labels: doc-impacting
>             Fix For: 2.1.x
>
>         Attachments: 9585-2.1-V2.txt, 9585-2.1-V3.txt, 9585-2.1.txt, 9585-2.2-V1.txt,
9585-3.0-V1.txt
>
>
> CQL syntax is inconsistent: it's "drop table X" but "truncate X". It used to trip me
up all the time until I wrapped my brain around this inconsistency and it still triggers a
tiny bout of OCD every time I type it.  I realize it's too late to change it,  but why not
have both? "truncate table X" is also consistent with the syntax in SQL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message