Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11664

Tab completion in cqlsh doesn't work for capitalized letters

    XMLWordPrintableJSON

Details

    • Low

    Description

      Tab completion in cqlsh doesn't work for capitalized letters, either in keyspace names or table names. Typing quotes and a corresponding capital letter should complete the table/keyspace name and the closing quote.

      cqlsh> create keyspace "Test" WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
      cqlsh> use "Tes
      cqlsh> use tes
      cqlsh> use Test;
      InvalidRequest: code=2200 [Invalid query] message="Keyspace 'test' does not exist"
      cqlsh> use "Test";
      cqlsh:Test> drop keyspace "Test"
      cqlsh:Test> create table "TestTable" (a text primary key, b text);
      cqlsh:Test> select * from "TestTable";
      
       a | b
      ---+---
      
      (0 rows)
      cqlsh:Test> select * from "Test
      

      Attachments

        Activity

          People

            mahdix Mahdi Mohammadinasab
            jblangston@datastax.com J.B. Langston
            Mahdi Mohammadinasab
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: