You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2009/05/25 03:29:45 UTC
[jira] Resolved: (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 ]
Paul Joseph Davis resolved COUCHDB-357.
---------------------------------------
Resolution: Won't Fix
Fix Version/s: 0.9.1
Assignee: Paul Joseph Davis
Given the set of keys: [1, 0] [1, 1] [1, 2] and a group_level=1 then we'd need to provide the equivalent of key=[1] but this will fail during reduction because startkey=[1]&endkey=[1] (the equivalent of specifying key=[1]) will select no keys.
> 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
> Assignee: Paul Joseph Davis
> Fix For: 0.9.1
>
> 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.