You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Mark Hammond (JIRA)" <ji...@apache.org> on 2009/05/23 08:14:45 UTC

[jira] Updated: (COUCHDB-357) group_level fails for multi-key reduce view

     [ https://issues.apache.org/jira/browse/COUCHDB-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hammond updated COUCHDB-357:
---------------------------------

    Attachment: issue-357.patch

testcase and patch

> group_level fails for multi-key reduce view
> -------------------------------------------
>
>                 Key: COUCHDB-357
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-357
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Mark Hammond
>         Attachments: issue-357.patch
>
>
> If you try and execute a multi-key reduce view with a group_level param, could returns a query parser error with message '"Multi-key fetchs for reduce view must include `group=true`".  The error persists if you add that param.  The problem appears to be that couch_httpd_view.erl is only checking for 'exact' grouping, not an integer level.  Attaching a patch; thanks to Paul Davis for the direction...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.