cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11664) Tab completion in cqlsh doesn't work for capitalized letters
Date Tue, 31 May 2016 17:04:13 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308120#comment-15308120
] 

Tyler Hobbs commented on CASSANDRA-11664:
-----------------------------------------

Thanks for the patch!

I tested this out locally and it's working well.  I've started a CI run of the tests:

||branch||dtest||
|[CASSANDRA-11664-2.2|https://github.com/thobbs/cassandra/tree/CASSANDRA-11664-2.2]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11664-2.2-dtest]|
|[CASSANDRA-11664-3.0|https://github.com/thobbs/cassandra/tree/CASSANDRA-11664-3.0]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11664-3.0-dtest]|
|[CASSANDRA-11664-3.7|https://github.com/thobbs/cassandra/tree/CASSANDRA-11664-3.7]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11664-3.7-dtest]|
|[CASSANDRA-11664-trunk|https://github.com/thobbs/cassandra/tree/CASSANDRA-11664-trunk]|[dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-11664-trunk-dtest]|

If those look good, I'll go ahead and commit the patch.

> Tab completion in cqlsh doesn't work for capitalized letters
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-11664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11664
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: J.B. Langston
>            Assignee: Mahdi Mohammadi
>            Priority: Minor
>              Labels: cqlsh
>
> 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.
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message