[SERVER-31443] $changeStream pipelines should support non-simple collations Created: 06/Oct/17 Updated: 30/Oct/23 Resolved: 03/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Charlie Swanson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Repl 2017-10-23, Repl 2017-11-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Currently $changeStream pipelines error when the pipeline collation is non-simple. $changeStream pipelines should support non-simple collations. Comparisons within the $changeStream stage itself should use binary comparison (e.g. comparing namespace string, shard key, _id (comparing _id can also use the collection default collation)), but subsequent stages in the pipeline should use the pipeline collation as usual. This will allow users to do collation-aware comparisons in $match stages in a $changeStream pipeline, which is essential for users using collation. |
| Comments |
| Comment by Githook User [ 03/Nov/17 ] |
|
Author: {'name': 'Charlie Swanson', 'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com'}Message: |