Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25954

Support more granular collation specification

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0
    • Fix Version/s: planned but not scheduled
    • Component/s: Querying
    • Labels:
      None

      Description

      Additional use cases for collation would be enabled if it could be specified at a more granular level than per-operation. Some examples:

      • A compound index or sort criteria with different collations for each key
      • A query filter with different collations per operator
      • An aggregation pipeline with different collations per stage (e.g. a case-insensitive collation for a $match and a case-sensitive one for a subsequent $sort)
      • A read-only view with different collations for the view itself, a view that it depends on, and an operation on the view (this would be enabled by allowing a collation per aggregation stage)

        Activity

        • Comments
        Hide
        asya Asya Kamsky added a comment -

        All of these except the last bullet are reasonable requests.

        The last bullet seems to enable some security leaks.

        Show
        asya Asya Kamsky added a comment - All of these except the last bullet are reasonable requests. The last bullet seems to enable some security leaks.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since reply:
              18 weeks ago
              Date of 1st Reply: