Ensure DocumentSourceExtensionExpandable::id is allocated before registering expander

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The RegisterStageExpanderForExtensionExpandable initializer may run before DocumentSourceExtensionExpandable::id is allocated. When it runs early, it registers the expander under kUnallocatedId (0) instead of the real ID. If desugaring can't find the expander for the real ID, stages are left as Expandable rather than Optimizable. We should add a prerequisite for "EndDocumentSourceIdAllocation" to ensure the expander is registered with the correct ID.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: