cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-2079) AsciiType comparator no longer usable on numeric types in 0.7
Date Tue, 01 Feb 2011 12:44:28 GMT

     [ 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

        

Mime
View raw message