You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Christoph Werres (JIRA)" <ji...@apache.org> on 2012/10/29 10:51:12 UTC

[jira] [Updated] (CASSANDRA-4870) CQL3 documentation does not use double quotes for case sensitivity

     [ https://issues.apache.org/jira/browse/CASSANDRA-4870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Werres updated CASSANDRA-4870:
----------------------------------------

    Description: 
CQL3 documentation is misleading considering the example for CREATE KEYSPACE. If not enclosed by double quotes (as in the example), data center names are interpreted as case insensitive. The example topology file "cassandra-topology.properties" within the "conf" directory of each Cassandra distribution uses capital letters for data center names. This leads to a cluster, where no data center seems to be available for keyspaces that were created according to the example.

Data center names are defined case sensitive within cassandra-topology.properties, but are all lower case in created keyspaces metadata using CQL3 without using double quotes.


See: http://cassandra.apache.org/doc/cql3/CQL.html#createKeyspaceStmt

  was:
CQL3 documentation is misleading considering the example for CREATE KEYSPACE. If not enclosed by double quotes (as in the example), data center names are interpreted as case insensitive. The example topology file "cassandra-topology.properties" within the "conf" directory of each Cassandra distribution uses capital letters for data center names. This leads to a cluster, where no data center seems to be available for keyspaces that were created according to the example.

Data center names are defined case sensitive within cassandra-topology.properties, but are all lower case in created column families metadata using CQL3 without using double quotes.


See: http://cassandra.apache.org/doc/cql3/CQL.html#createKeyspaceStmt

    
> CQL3 documentation does not use double quotes for case sensitivity
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-4870
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4870
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation & website
>    Affects Versions: 1.1.5, 1.1.6
>            Reporter: Christoph Werres
>            Priority: Minor
>              Labels: documentation
>
> CQL3 documentation is misleading considering the example for CREATE KEYSPACE. If not enclosed by double quotes (as in the example), data center names are interpreted as case insensitive. The example topology file "cassandra-topology.properties" within the "conf" directory of each Cassandra distribution uses capital letters for data center names. This leads to a cluster, where no data center seems to be available for keyspaces that were created according to the example.
> Data center names are defined case sensitive within cassandra-topology.properties, but are all lower case in created keyspaces metadata using CQL3 without using double quotes.
> See: http://cassandra.apache.org/doc/cql3/CQL.html#createKeyspaceStmt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira