Timeseries group rewrite blocks count rewrite when collation doesn't match

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.1.0-rc0
    • Component/s: None
    • Query Integration
    • v8.2, v8.1, v8.0, v7.3, v7.2, v7.1, v7.0, v6.0
    • QI 2023-09-18, QI 2023-10-02, QI 2023-10-16, QI 2023-10-30, QI 2023-11-13, QI 2023-11-27, QI 2023-12-11, QI 2023-12-25, QI 2024-01-08, QI 2024-01-22, QI 2024-02-05, QI 2024-02-19, QI 2024-03-04, QI 2024-03-18, QI 2024-04-01, QI 2024-04-15, QI 2024-04-29, QI 2024-05-13, QI 2024-05-27, QI 2024-06-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-78235 we added a rewrite for $count accumulator in a $group stage. However, we need to move the check if the collation matches to rewriteMinMaxGroupAccm(), since $count doesn't depend on the collation. This way even if the collation doesn't match we can rewrite a $group stage that has a $count accumulator.

              Assignee:
              Unassigned
              Reporter:
              Gil Alon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: