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

Tyler Hobbs commented on CASSANDRA-10038:
-----------------------------------------

As part of CASSANDRA-9232, let's add a dtest to verify that {{DESCRIBE}} works 
with unreserved keyword names.  I'll go ahead and resolve this ticket as a 
duplicate.  Thanks for checking that!

> Parse Error on CQLSH describe when describing a table with a non-reserved 
> keyword name
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10038
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10038
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Joel Knighton
>            Assignee: Stefania
>            Priority: Trivial
>              Labels: cqlsh
>
> If a table with the name 'map' is created, the describe command will return 
> "Improper describe command", indicating a parse error.
> I believe this is because 'map' is a keyword when referring to a type, but 
> cqlshlib's parser identifies it as a keyword in the context of a describe 
> command, even though it is not. This same mismatch likely applies to other 
> CQL keywords as well.
> The cqlshlib and C* CQL parsers should treat keywords the same where possible.



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

Reply via email to