You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "J.B. Langston (JIRA)" <ji...@apache.org> on 2015/06/11 22:13:00 UTC

[jira] [Updated] (CASSANDRA-9585) Make "truncate table X" an alias for "truncate X"

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

J.B. Langston updated CASSANDRA-9585:
-------------------------------------
    Priority: Trivial  (was: Major)

> 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
>            Priority: Trivial
>
> 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)