[
https://issues.apache.org/jira/browse/CASSANDRA-10038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Thompson updated CASSANDRA-10038:
----------------------------------------
Labels: cqlsh (was: )
> 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
> 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)