You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/10/22 20:15:13 UTC

[GitHub] [couchdb] nickva commented on pull request #3783: Fix reduce view row collation with unicode equivalent keys

nickva commented on pull request #3783:
URL: https://github.com/apache/couchdb/pull/3783#issuecomment-949932469


   > if CouchDB has considered those strings to be equal but doesn't normalise them in its results.
   
   CouchDB currently doesn't normalize json keys in the views, neither when updating the view or the start/end keys or key dicts when querying. Perhaps we should do it, but I think that's a larger decision to be made, as it would involve compatibility with existent views.
   
   CouchDB relies on unicode comparison only (`less(A,B) -> -1 | 0 | 1`). That function is used on each shard as base BTree ordering function, and used in the coordinator (fabric) when merging results. The primary issue that previously there was a subtle difference in how the functions worked on each shard vs how it works in the coordinator.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org