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

[CQF] ScanDefinition should contain a structured NamespaceStringOrUUID

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Minor Change
    • QO 2023-09-04, QO 2023-09-18

      I had a brief discussion with mathis.bessa@mongodb.com on serverless about the parseFromScanDef function in abt_lowering. This function extracts a NamespaceStringOrUUID from a ScanDefinition, which sounds more like a getter than a parser.

      I think we already construct a NamespaceStringOrUUID much earlier in the request, so we should store that on ScanDefinition directly, instead of converting to a string and back. Classes like NamespaceStringOrUUID and DatabaseName track the tenantId separately from the user-visible database name, which helps avoid ambiguity between a database's internal name and its user-visible name.

            Assignee:
            daniel.segel@mongodb.com Daniel Segel
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: