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

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: