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

[CQF] Lowering for FunctionCall [shardFilter]

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-07-10, QO 2023-07-24
    • 0

    Description

      Once the optimizer starts generating physical plans which perform shard filtering, we will need to update the lowering code to generate the corresponding SBE plan.

      The ABT representation is an n-ary FunctionCall, with each parameter corresponding to a Variable representing a field of the shard key. The SBE representation is a 2-arg function with the first parameter pointer to a slot in the runtime environment representing the ShardFilterer and the second parameter being an expression evaluating to a BSONObj representing the shard key.

      Attachments

        Activity

          People

            richard.hausman@mongodb.com Richard Hausman (Inactive)
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: