You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Christopher Bonhage (JIRA)" <ji...@apache.org> on 2011/09/19 23:43:08 UTC

[jira] [Created] (COUCHDB-1291) New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}

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

                 Key: COUCHDB-1291
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1291
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
    Affects Versions: 2.0
         Environment: Mac OS X 10.7.1, Erlang R14B04
            Reporter: Christopher Bonhage
            Priority: Trivial
             Fix For: 2.0
         Attachments: 0001-mrview_row_format_consistency.patch

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,_}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (COUCHDB-1291) New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis resolved COUCHDB-1291.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   1.2

Overcame the adrenaline and went ahead and applied this.

> New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}
> -----------------------------------------------------------------------------
>
>                 Key: COUCHDB-1291
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1291
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 2.0
>         Environment: Mac OS X 10.7.1, Erlang R14B04
>            Reporter: Christopher Bonhage
>            Priority: Trivial
>             Fix For: 1.2
>
>         Attachments: 0001-mrview_row_format_consistency.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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,_}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COUCHDB-1291) New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}

Posted by "Christopher Bonhage (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Bonhage updated COUCHDB-1291:
-----------------------------------------

    Attachment: 0001-mrview_row_format_consistency.patch

s/{val,/{value,/g

> New couch_mrview engine uses {val,_} in {row,_} instead of expected {value,_}
> -----------------------------------------------------------------------------
>
>                 Key: COUCHDB-1291
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1291
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 2.0
>         Environment: Mac OS X 10.7.1, Erlang R14B04
>            Reporter: Christopher Bonhage
>            Priority: Trivial
>             Fix For: 2.0
>
>         Attachments: 0001-mrview_row_format_consistency.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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,_}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira