cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7142) Suggest CTRL-C/D or semicolon after three blank lines in cqlsh
Date Fri, 02 May 2014 20:07:16 GMT
Tyler Hobbs created CASSANDRA-7142:
--------------------------------------

             Summary: 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
            Priority: Trivial
             Fix For: 2.0.8


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