Support general block-based stages in stage builders

XMLWordPrintableJSON

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

      The first step before we can have a block-based $group stage, is that the stage builder has a protocol to let SlotBasedStageBuilder::buildGroup inform the SlotBasedStageBuilder::build method building its source stage (via PlanStageReqs) that such stage is allowed to return block-based slots in its PlanStageOutputs.
      The block-producing stages (currently just SlotBasedStageBuilder::buildUnpackTsBucket) would not insert the BlockToRowStage, and delegate the insertion to the first buildXXX method that accepts blocks in input but cannot generate blocks in output (because the stage output is not a block, or because the parent stage didn't signal in the PlanStageReqs that it can handle blocks)

            Assignee:
            Alberto Massari
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: