You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/02/01 13:44:28 UTC
[jira] Resolved: (CASSANDRA-2079) AsciiType comparator no longer
usable on numeric types in 0.7
[ https://issues.apache.org/jira/browse/CASSANDRA-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2079.
---------------------------------------
Resolution: Not A Problem
If you were sending valid data, then having that actually enforced won't hurt. :)
If you weren't, you should probably switch to BytesType.
> AsciiType comparator no longer usable on numeric types in 0.7
> -------------------------------------------------------------
>
> Key: CASSANDRA-2079
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2079
> Project: Cassandra
> Issue Type: Improvement
> Components: Documentation & website
> Affects Versions: 0.7.0
> Environment: Ubuntu 10
> Reporter: Robbie Strickland
> Fix For: 0.7.0
>
>
> Prior to 0.7, if you wanted to use integer values other than long types as column names, you had to use AsciiType to get a valid numeric-order comparison. If you migrate to 0.7 you need to change the comparison type to "IntegerType", otherwise you will get the following error: InvalidRequestException(Why: Invalid byte for ascii: -51), or something similar. The documentation should be updated to warn users of this issue.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira