CouchDB
  1. CouchDB
  2. COUCHDB-357

group_level fails for multi-key reduce view

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.9.1
    • Component/s: HTTP Interface
    • Labels:
      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...

      1. issue-357.patch
        1 kB
        Mark Hammond

        Issue Links

          Activity

          Mark Hammond created issue -
          Mark Hammond made changes -
          Field Original Value New Value
          Attachment issue-357.patch [ 12408871 ]
          Paul Joseph Davis made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Paul Joseph Davis [ paul.joseph.davis ]
          Fix Version/s 0.9.1 [ 12313840 ]
          Resolution Won't Fix [ 2 ]
          Mark Hammond made changes -
          Link This issue relates to COUCHDB-359 [ COUCHDB-359 ]
          Sam Bisbee made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Paul Joseph Davis
              Reporter:
              Mark Hammond
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development