[
https://issues.apache.org/jira/browse/CASSANDRA-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Yaskevich updated CASSANDRA-4129:
---------------------------------------
Attachment: CASSANDRA-4129.patch
patch against cassandra-1.0
> Cannot create keyspace with specific keywords through cli
> ---------------------------------------------------------
>
> Key: CASSANDRA-4129
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4129
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.8
> Reporter: Manoj Kanta Mainali
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 1.0.9
>
> Attachments: CASSANDRA-4129.patch
>
>
> Keyspaces cannot be create when the keyspace name which are used as keywords
> in the cli, such as 'keyspace', 'family' etc., through CLI. Even when
> surrounding the keyspace with quotation does not solve the problem. However,
> such keyspaces can be created through other client such as Hector.
> This is similar to the issue CASSANDRA-3195, in which the column families
> could not be created. Similar to the solution of CASSANDRA-3195, using String
> keyspaceName = CliUtil.unescapeSQLString(statement.getChild(0).getText()) in
> executeAddKeySpace would solve the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira