[ 
https://issues.apache.org/jira/browse/CASSANDRA-4161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

paul cannon updated CASSANDRA-4161:
-----------------------------------

    Attachment: 4161.patch.txt

Good catch, thanks. I do think that a slightly better solution is to do the 
downcasing in a more specific place, though, as attached. I would like to keep 
original case intact in cmdword, even if it's just for error messages right now.

Does this work for you?

(also available in my 4161 branch in github: 
https://github.com/thepaul/cassandra/tree/4161)
                
> CQL 3.0 does not work in cqlsh with uppercase SELECT
> ----------------------------------------------------
>
>                 Key: CASSANDRA-4161
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4161
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.0
>         Environment: cqlsh
>            Reporter: Jonas Dohse
>            Priority: Minor
>              Labels: cql3, cqlsh
>         Attachments: 
> 0001-Allow-CQL-3.0-with-uppercase-SELECT-statement.patch, 4161.patch.txt
>
>
> Uppercase SELECT prevents usage of CQL 3.0 features like ORDER BY
> Example:
> select * from test ORDER BY number; # works
> SELECT * from test ORDER BY number; # fails

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to