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

New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 1.2
    • Database Core
    • None
    • Mac OS X 10.7.1, Erlang R14B04

    • New Contributors Level (Easy)

    Description

      Internally, it appears as though the new reference implementation for views uses the row convention of {row, [

      {id,_}

      ,

      {key,_}

      ,

      {val,_}, {doc,_}]}, which is inconsistent with output convention of {"id":_, "key":_, "value": _, "doc": _}. For the sake of sanity, and since couch_mrview is to be a reference implementation, I propose that {val,_}

      be changed to

      {value,_}

      .

      Attachments

        1. 0001-mrview_row_format_consistency.patch
          12 kB
          Christopher Bonhage

        Activity

          People

            Unassigned Unassigned
            bonhage Christopher Bonhage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: