You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Mike Leddy (JIRA)" <ji...@apache.org> on 2010/08/11 02:04:17 UTC

[jira] Commented: (COUCHDB-796) Bignum support

    [ 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.