mirror of https://github.com/apache/cassandra
Allow quoting of the ColumnFamily name in CLI `create column family` statement
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3195 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1170555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e5c96d07cf
commit
3cccb44e5f
|
|
@ -17,7 +17,8 @@
|
|||
decommission (CASSANDRA-3041)
|
||||
* Fix divide by zero error in GCInspector
|
||||
* revert CASSANDRA-2388
|
||||
|
||||
* allow quoting of the ColumnFamily name in CLI `create column family`
|
||||
statement (CASSANDRA-3195)
|
||||
|
||||
0.8.5
|
||||
* fix NPE when encryption_options is unspecified (CASSANDRA-3007)
|
||||
|
|
|
|||
|
|
@ -1023,7 +1023,7 @@ public class CliClient
|
|||
return;
|
||||
|
||||
// first value is the column family name, after that it is all key=value
|
||||
CfDef cfDef = new CfDef(keySpace, statement.getChild(0).getText());
|
||||
CfDef cfDef = new CfDef(keySpace, CliUtils.unescapeSQLString(statement.getChild(0).getText()));
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ public class CliTest extends CleanupHelper
|
|||
"set sCf1['hello'][1][9999] = Long(1234);",
|
||||
"del sCf1['hello'][9999];",
|
||||
"get sCf1['hello'][1][9999];",
|
||||
"create column family Counter1 with comparator=UTF8Type and default_validation_class=CounterColumnType;",
|
||||
"create column family 'Counter1' with comparator=UTF8Type and default_validation_class=CounterColumnType;",
|
||||
"assume Counter1 keys as utf8;",
|
||||
"incr Counter1['hello']['cassandra'];",
|
||||
"incr Counter1['hello']['cassandra'] by 3;",
|
||||
|
|
|
|||
Loading…
Reference in New Issue