You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2011/08/01 23:18:48 UTC

[jira] [Updated] (CASSANDRA-2898) Escape characters in CQL

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

Brandon Williams updated CASSANDRA-2898:
----------------------------------------

    Attachment: 2898.txt

Patch to allow escaping colons with a backslash.

> Escape characters in CQL
> ------------------------
>
>                 Key: CASSANDRA-2898
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2898
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Drivers
>            Reporter: Blake Visin
>            Assignee: Brandon Williams
>              Labels: cql
>         Attachments: 2898.txt
>
>
> When trying to get all the columns named "fmd:" in cqlsh you can not escape : or ;
> As per Jonathan Ellis:
> You can escape quotes but I don't think you can escape semicolons.
> Try:
> sqlsh> select 'fmd:'..'fmd;' from feeds;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira