cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Created: (CASSANDRA-1524) remove requirement for unnecessary quoting in cli
Date Tue, 21 Sep 2010 16:07:33 GMT
remove requirement for unnecessary quoting in cli

                 Key: CASSANDRA-1524
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
            Reporter: Jonathan Ellis
            Assignee: Pavel Yaskevich

Currently the cli requires quoting almost everything, and is fragile when they are not supplied.
 For example:

[default@unknown] connect localhost/9160                            
Connected to: "Test Cluster" on localhost/9160
[default@unknown] use Keyspace1
Authenticated to keyspace: Keyspace1
[default@Keyspace1create column family CF1 with comparator='UTF8Type' 
[default@Keyspace1] set CF1['key1'][col1] = 'value'
line 1:16 mismatched input 'col1' expecting StringLiteral
Exception in thread "main" java.lang.AssertionError

At a minimum, it needs to not crash when the quotes are omitted (e.g. around col1 here). 
But what I'd really like is for quotes to be optional except when required to escape a significant
character like a space or bracket, i.e., this entire session should work w/o any quotes at

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message