couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul iannazzo (Created) (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1372) "_stats" reduce producing errors on empty views
Date Fri, 30 Dec 2011 18:02:30 GMT
"_stats" reduce producing errors on empty views

                 Key: COUCHDB-1372
             Project: CouchDB
          Issue Type: Bug
          Components: JavaScript View Server
    Affects Versions: 1.1.1
         Environment: windows, most likely effects all systems
            Reporter: paul iannazzo

have a database with any number of documents in it. create a map that outputs 0 things (no
emits called). use reduce : "_stats". an error should occur.
it's very common to have views be an empty set since maps act as filters in couchdb.

when i use my own reduce functions i don't get errors, only with the standard couchdb functions.

this wouldn't be a problem if i could use commonJS in my reduces.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message