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

[jira] [Commented] (CASSANDRA-2745) CQL Error InvalidRequestException(why:line 1:22 mismatched character '6' expecting '-')

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

Eric Evans commented on CASSANDRA-2745:
---------------------------------------

No, this is expected behavior.  You can use an unquoted string literal when it is alpha-numeric (including underscore) and begins with a letter, otherwise you must quote it (single quotes).

The documentation could probably be clearer/state this more prominently; Suggestions for improved documentation welcomed.

> CQL Error InvalidRequestException(why:line 1:22 mismatched character '6' expecting '-') 
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2745
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2745
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.0 beta 2
>            Reporter: Chris Chiappone
>
> There appears to be a bug in the way Cassandra is parsing the ColumnFamily names when using CQL.  It looks as though the parse tends to think a ColumnFamily name may be hex when it really is a string such as 30BDB2526BA36CD0E4ABBBEEA88911DD.

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