cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12101) DESCRIBE INDEX: missing quotes for case-sensitive index name
Date Wed, 03 Aug 2016 03:35:20 GMT

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

Stefania commented on CASSANDRA-12101:
--------------------------------------

It's the Python driver that should call {{protect_name}} [here|https://github.com/datastax/python-driver/blob/master/cassandra/metadata.py#L1330]
and [here|https://github.com/datastax/python-driver/blob/master/cassandra/metadata.py#L1337]
in {{IndexMetadata.as_cql_query()}}. There is a comment indicating that there was a problem
with quoting the index name, possibly an old thing since I was able to create an index with
an uppercase quoted name in 2.2, cc [~aholmber].

> DESCRIBE INDEX: missing quotes for case-sensitive index name
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-12101
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12101
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Julien
>            Assignee: Stefania
>            Priority: Minor
>              Labels: cqlsh, lhf
>
> Create a custom index with a case-sensitive name.
> The result of the DESCRIBE INDEX command does not have quotes around the index name.
As a result, the index cannot be recreated with this output.



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

Mime
View raw message