couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hammond (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-357) group_level fails for multi-key reduce view
Date Sat, 23 May 2009 08:31:45 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712383#action_12712383
] 

Mark Hammond commented on COUCHDB-357:
--------------------------------------

I also meant to change the error message to be less misleading when group_level was supplied
- something like "Multi-key fetchs for reduce view must include `group=true` or a `group_level`"

> 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.


Mime
View raw message