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

Implement fillType instruction and valueBlockFillType builtin in SBE

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • 35

      A common pattern in some SBE plans is

      if (typeMatch(s1, 1088) ?: true) then Nothing else s1 

      This can instead be replaced with

      fillType(s1, 1088, Nothing)

      For block processing, this will allow us to use bucket metadata to avoid decompression when we know that no values in the block will match the type mask.

            Assignee:
            parker.felix@mongodb.com Parker Felix
            Reporter:
            parker.felix@mongodb.com Parker Felix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: