That doesn't make sense to me.  IntegerType validation is a no-op and
LongType validation is pretty close (just a size check).

If you meant that the conversion is killing performance on your
client, you should switch to a more performant client language. :)

On Fri, Feb 18, 2011 at 9:56 PM, buddhasystem <potek...@bnl.gov> wrote:
>
> I've been too smart for my own good trying to type columns, on the theory
> that it would later increase performance by having more efficient
> comparators in place. So if a string represents an integer, I would convert
> it to an integer and declare the column as such. Same for LONG.
>
> What I found is that during the write operation, the type conversion kills
> the performance. It's really not too trivial amount of time.
>
> Has anyone had a similar experience?
>
> --
> View this message in context: 
> http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Virtues-and-pitfall-of-using-TYPES-tp6042432p6042432.html
> Sent from the cassandra-u...@incubator.apache.org mailing list archive at 
> Nabble.com.
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to