Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
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'
acbec076-c597-11df-a09b-e700f669bcfc
[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 all.