Github user tonysun83 commented on the issue:

    https://github.com/apache/couchdb-couch/pull/229
  
    This is what it looks like now:
    
    ```
    {
        "rows": [
            {
                "error": "builtin_reduce_error",
                "reason": "The _sum function requires that map values be 
numbers, arrays of numbers, or objects, not. Objects cannot be mixed with other 
data structures. Objects can be arbitrarily nested, provided that the values 
for all fields are themselves numbers, arrays of numbers, or objects.",
                "cause_by": [
                    {
                        "a": 1
                    },
                    {
                        "a": 2
                    },
                    {
                        "a": 3
                    },
                    {
                        "a": 4
                    }
                ]
            }
        ]
    }
    ```
    
    Also added  https://github.com/apache/couchdb-couch-mrview/pull/66
    and https://github.com/apache/couchdb-fabric/pull/90 to support this change.
    
    Hopefully this is the right approach.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to