[ 
https://issues.apache.org/jira/browse/COUCHDB-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669343#comment-13669343
 ] 

Adam Kocoloski commented on COUCHDB-1805:
-----------------------------------------

[~pjdavis1970] reminds me that we support raw collation on views, so the right 
fix here needs to carry that config information all the way through to the row 
grouping.
                
> 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