cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul \"LeoNerd\" Evans" <>
Subject Re: CQL decimal encoding
Date Mon, 24 Feb 2014 18:40:09 GMT
On Mon, 24 Feb 2014 17:51:54 +0000
Ben Hood <> wrote:

> Or in the absence of a spec, just a heads up from other language
> driver implementors as to what approach they've taken.

I reverse-engineered it by using cqlsh to insert lots of known
numerical values, then seeing what the returned binary values came out

If you're interested in comparing, my encode/decode functions are here:

And the unit tests live here:

Paul "LeoNerd" Evans
ICQ# 4135350       |  Registered Linux# 179460

View raw message