Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-357

group_level fails for multi-key reduce view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 0.9.1
    • HTTP Interface
    • None

    Description

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

      Attachments

        1. issue-357.patch
          1 kB
          Mark Hammond

        Issue Links

          Activity

            People

              paul.joseph.davis Paul Joseph Davis
              mhammond Mark Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: