You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russell Alexander Spitzer (JIRA)" <ji...@apache.org> on 2013/12/03 22:14:35 UTC

[jira] [Created] (CASSANDRA-6442) CQLSH in CQL2 Mode (-2) lowercases keyspace after use statements breaking autocomplete

Russell Alexander Spitzer created CASSANDRA-6442:
----------------------------------------------------

             Summary: CQLSH in CQL2 Mode (-2) lowercases keyspace after use statements breaking autocomplete
                 Key: CASSANDRA-6442
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6442
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
            Reporter: Russell Alexander Spitzer
            Priority: Minor


When running Cqlsh in cql2 mode, using a keyspace lowercases it. 

{code}
cqlsh> CREATE KEYSPACE MixedCase WITH strategy_class = 'SimpleStrategy' AND strategy_options:replication_factor = 1;
cqlsh> use MixedCase ;
cqlsh:mixedcase> 
{code}

This is slightly annoying since cqlsh cannot autocomplete correctly with the wrong keyspace name. 
{code}
cqlsh:mixedcase> CREATE TABLE test (a int PRIMARY KEY , b int ) ;
cqlsh:mixedcase> SELECT * FROM [TAB PRESSED]
HiveMetaStore.  MixedCase.      cfs.            cfs_archive.    cql3ks.         dse_security.   dse_system.     fun.            system.         system_traces.  testKS.  
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)