Limit memory usage of $mergeObjects in Classic engine

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $mergeObjects iterates over N input objects and merges all their keys and values into a single output object. The output size is unbounded since it combines all fields from every input object, with no memory limit enforced on the merged result.

      $mergeObjects is implemented as an accumulator in AccumulatorMergeObjects class .

            Assignee:
            Unassigned
            Reporter:
            Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: