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

Make stage builder's buildUnwind compatible with block processing

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • QE 2024-02-05, QE 2024-02-19, QE 2024-03-04, QE 2024-03-18, QE 2024-04-01, QE 2024-04-15, QE 2024-04-29, QE 2024-05-13

      The idea is to have a $match that can be vectorized, followed by a $addFields that creates an array using scalar processing, followed by an $unwind that works on that scalar array, followed by another stage that can be vectorized (a $match that compares a block variables with the scalar value generated by the $addFields). The purpose of the change would be to let the $unwind propagate the "can produce vectorized" flag down to the child stage, then create the scalar operation and don't insert the final block_to_row

            Assignee:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: