couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Leddy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-796) Bignum support
Date Wed, 11 Aug 2010 00:04:17 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897090#action_12897090
] 

Mike Leddy commented on COUCHDB-796:
------------------------------------

Chris, 

I use Ruby for all my views and it should work fine too :-) 

irb(main):001:0> require 'json'
=> true
irb(main):002:0> JSON.parse(JSON.generate([2**256]))
=> [115792089237316195423570985008687907853269984665640564039457584007913129639936]


> Bignum support
> --------------
>
>                 Key: COUCHDB-796
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-796
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.11
>            Reporter: Robert Newson
>             Fix For: 1.0.1
>
>
> CouchDB uses spidermonkey which can only handle 32 bit integer values before overflowing.
This might surprise users of map/reduce on large datasets.
> Instead, alter mochijson2.erl to handle bignums and encode numeric values as strings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message