[CQF] Generate SBE expression to hash shard key when invoking ShardFilterer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • 145
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the enforcer and implementers which handle RemoveOrphansRequirement, we currently generate physical plans that do not consider the collation spec of the shard key. This means for shard keys like {_id: 'hashed'}, if we are performing a coll scan, we need to hash the value of _id before invoking the ShardFilterer.

              Assignee:
              Ben Shteinfeld
              Reporter:
              Ben Shteinfeld
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: