Add set_view_info() to AstNode

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

      This will allow AstNodes to receive a minimal viewName/ViewInfo struct from LiteParsedExpanded's ViewPolicy callback, should the AstNode specify a "custom" ViewPolicy.

      // C API 
      typedef struct MongoExtensionAggStageASTNodeVTable {
         /**
           * Passes viewInfo over to the extension. This will be just the viewName for now.
           */
          void (*set_view_info)(const MongoExtensionAggStageAstNode* astNode, MongoExtensionByteView viewName);
      };
      

      This ticket will also handle corresponding changes to the extension SDK, host adapter, and unit tests.

            Assignee:
            Unassigned
            Reporter:
            Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: