incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Clairon <clai...@gmail.com>
Subject Random issue with reduce
Date Sat, 28 Mar 2009 10:48:08 GMT
Hi !

I get problem with reduce. For the following map result :

key => 1
key => 1
key => 1
key => 1
key => 1
key => 1
key => 1
key => 1
...

I sometime get this reduce result:

key => [[1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,],...]

while the expected result is of course :

key => [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,...]

I can't figure out why I get sometime nested lists in reduce result.

I'm using the latest trunk (0.9) of couchdb on a Linux box (Ubuntu
8.04) with erlang 12b.3
but I also got this problem with 0.8 version.

Does anyone went through this issues already ?

Nicolas

PS : I'm so sorry for my bad english...

Mime
View raw message