Adam Kocoloski created COUCHDB-1805:
---------------------------------------

             Summary: Grouping on reduce views tests for equality rather than 
ICU equivalence
                 Key: COUCHDB-1805
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1805
             Project: CouchDB
          Issue Type: Bug
            Reporter: Adam Kocoloski


If I emit keys from two documents that are distinct but compare equal from 
ICU's point of view, a group=true query over the view will show two distinct 
rows.  I think the expected behavior is that the rows are combined when ICU 
collation says the keys compare equal.

I think part of the fix is to modify the group_rows_fun to call out to ICU 
instead of doing a simple == comparison:

https://github.com/apache/couchdb/blob/48dc96/src/couch_mrview/src/couch_mrview.erl#L354-L363

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to