You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Chiappone (JIRA)" <ji...@apache.org> on 2011/06/07 00:54:59 UTC
[jira] [Created] (CASSANDRA-2745) CQL Error
InvalidRequestException(why:line 1:22 mismatched character '6' expecting
'-')
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
[jira] [Commented] (CASSANDRA-2745) CQL Error
InvalidRequestException(why:line 1:22 mismatched character '6' expecting
'-')
Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CASSANDRA-2745) CQL Error
InvalidRequestException(why:line 1:22 mismatched character '6' expecting
'-')
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2745.
---------------------------------------
Resolution: Not A Problem
> 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