You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/10/21 19:55:03 UTC

[GitHub] [couchdb] davisp opened a new pull request #3225: Fix empty reduce output to match 3.x behavior

davisp opened a new pull request #3225:
URL: https://github.com/apache/couchdb/pull/3225


   ## Overview
   
   Before this change a reduce call that contained no rows would end up
   returning the "default" value of the given reduce function which is
   whatever it would return when given an empty array as input. This
   changes the behavior to return `{"rows": []"}` when there are no
   rows in the requested range.
   
   ## Testing recommendations
   
   `make check`
   
   ## Checklist
   
   - [x] Code is written and works correctly
   - [x] Changes are covered by tests
   - [ ] Any new configurable parameters are documented in `rel/overlay/etc/default.ini`
   - [ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] davisp merged pull request #3225: Fix empty reduce output to match 3.x behavior

Posted by GitBox <gi...@apache.org>.
davisp merged pull request #3225:
URL: https://github.com/apache/couchdb/pull/3225


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org