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

Add support for translating Operations::Or BinaryOp ABT node

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

      The builtinValueBlockLogicalOr VM builtin instruction is already available, so we are just missing the support for translating it in the vectorizer using the logic described in the Architecture Guide:

      <block_expr1> or <block_expr2>

      becomes

      Let mask = <block_expr1> in
      valueBlockLogicalOr(mask, applyMask(valueBlockLogicalNot(valueBlockFillEmpty(mask, False)), <block_expr2>))

      Use the logic already present for Operations::And as a guide for the applyMask pseudo function

            Assignee:
            projjal.chanda@mongodb.com Projjal Chanda
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: