cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7142) Suggest CTRL-C/D or semicolon after three blank lines in cqlsh
Date Fri, 02 May 2014 23:01:25 GMT

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

Mikhail Stepura updated CASSANDRA-7142:
---------------------------------------

    Fix Version/s: 2.1 rc1

> Suggest CTRL-C/D or semicolon after three blank lines in cqlsh
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-7142
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7142
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Mikhail Stepura
>            Priority: Trivial
>              Labels: lhf
>             Fix For: 2.0.8, 2.1 rc1
>
>         Attachments: cassandra-2.0-7142.patch
>
>
> After observing a few people use Cassandra and cqlsh for the first time, most of them
miss a quote or a semi-colon in cqlsh and do something like this:
> {noformat}
> cqlsh> INSERT INTO users (name, email) VALUES ('joe', 'joe@gmail')
>    ... 
>    ... 
>    ... 
>    ... 
>    ... 
> {noformat}
> If cqlsh gets three blank lines in a row, it could print something like:
> {noformat}
> Statements are terminated with a ';'.  You can press CTRL-C to cancel an imcomplete statement.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message