[SERVER-25186] Add support for a default collation for views Created: 20/Jul/16 Updated: 14/Mar/17 Resolved: 06/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.14 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | read-only-views | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Like collections, views should have a default collation. You can specify a default collation for a view at creation time; if no collation is specified, the view's default collation is the "simple" collator. The default collation of a view should not be overridden. This prevents a user from circumventing field-level redaction performed in the view pipeline that is implemented with string comparisons. The following operations should fail with an OptionNotSupportedOnView error:
|
| Comments |
| Comment by Kyle Suarez [ 06/Sep/16 ] |
|
Marking documentation changes as "Needed," since we will have to document the behavior of views with collation. |
| Comment by Githook User [ 06/Sep/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}Message: |
| Comment by Githook User [ 06/Sep/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}Message: Users cannot create/modify a view that overrides the collation of another view. |
| Comment by Githook User [ 06/Sep/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'kyle.suarez@mongodb.com'}Message: Users may specify a default collation when creating a view. Operations involving |