Introduce ViewInfo struct in LiteParsed layer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a single struct containing viewName, resolvedNss, and a desugared viewPipe to unify all view metadata used during view application. This also involves:

      • Replacing expCtx view metadata with ViewInfo
      • Updating ResolvedView to populate ViewInfo

      The ViewPolicy should look like:

      // This may be upgraded to LiteParsedPipeline.
      using LiteParsedVec = std::vector<std::unique_ptr<LiteParsedDocumentSource>>;
      struct ViewInfo {
          NamespaceString viewName; // unresolved view nss
          NamespaceString resolvedNss; // underlying collection 
          LiteParsedVec viewPipe;
      };
      

            Assignee:
            Adithi Raghavan
            Reporter:
            Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: