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

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

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

Jonathan Ellis resolved CASSANDRA-6442.
---------------------------------------

       Resolution: Won't Fix
    Reproduced In: 2.0.2, 1.2.11  (was: 1.2.11, 2.0.2)

cql 2 mode is purely legacy code at this point; we're not expending effort on enhancements.

> 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)