You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2015/06/30 17:43:04 UTC
[jira] [Resolved] (COUCHDB-1805) Grouping on reduce views tests for
equality rather than ICU equivalence
[ https://issues.apache.org/jira/browse/COUCHDB-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Kocoloski resolved COUCHDB-1805.
-------------------------------------
Resolution: Fixed
> 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
> Assignee: Adam Kocoloski
> Fix For: 2.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)