Treat "partitionBy" null as equivalent to no partitioning

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Optimization 2021-03-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current desugaring code optimizes the generated pipelines for simple field path partitions, but not for constants. We should not generate a preceding $set (and maybe $sort if there's no sortBy) for such a case.

              Assignee:
              Nicholas Zolnierz
              Reporter:
              Nicholas Zolnierz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: