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

Allow change stream rewrites for $match with non-simple collation

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution

      SERVER-59426 completely disables change stream rewrites for pipelines with a non-simple collation.

      SERVER-59659 would eliminate the need for that restriction, but even if that does not turn out to be practical, some rewrites can still be applied in pipelines with non-simple collations.

      Fields such as clusterTime, which cannot have a string value, can be rewritten normally. Rewrites for fields that can have arbitrary strings would need to go in a separate $match, which does not get pushed down to the $cursor level of the pipeline.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: