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

      Create a stage that would participate in a parallel subplan, where each thread-bound object would share a common object holding one queue per thread. The getNext() call would first check if there is data in the dedicated queue to return, and if there is none, it would invoke the getNext() on the thread-bound children branch. When the call finishes, it would run the VM expression to compute hash % num_thread to see in which bucket the data should be stored, then wait on a condition variable for its own queue to be filled. After the data arrives, it should copy it locally to be able to consume it one at a time, and restart the thread who originated it.

            Assignee:
            Unassigned
            Reporter:
            Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: