Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2127

In Interpreter, allow a node to have more than one consumer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16.0
    • Component/s: None
    • Labels:
      None

      Description

      In Interpreter, allow a node to have more than one consumer. In other words, the graph may be a DAG not just a tree.

      If a node has more than one consumer, its Sink is a DuplicatingSink that writes to multiple consumers. Each has an independent ArrayDeque.

      This change will only be exercised when CALCITE-2116 is fixed, and the planner starts producing DAG plans.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                julianhyde Julian Hyde
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: