Provide collection metadata to LogicalStage at bind time

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Collection metadata is required in LogicalStage::explain(), ExecAggStage::explain() and getNext() for $vectorSearch. In particular, it's necessary in order to create the request for mongot

      Collection metadata is the comprised of

      { db: string, collectionName: string, uuid  }

      It's not possible to have this information reliably in the ParseNode phase due to View resolution. The easiest way to provide this to extensions is when an AstNode is promoted to a LogicalStage via bind(). Pass this information to bind() as part of this ticket. 

            Assignee:
            Santiago Roche
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: