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

Make stage builder's buildUnwind compatible with block processing

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution
    • QE 2024-02-05, QE 2024-02-19

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: