Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
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:
- Specifying a per-operation collation that differs from an operation involving a view, whether directly or via $lookup or $graphLookup
- Performing any operation that involves multiple views (i.e. via $lookup or $graphLookup) where the views don't all have the same collation
- Creating a view to depend on another view that does not have a matching collation
- Modifying a view to depend on another view that does not have a matching collation
Attachments
Issue Links
- is documented by
-
DOCS-8905 Document the behavior of views and collation
-
- Closed
-