Weston Pace created ARROW-16524:
-----------------------------------
Summary: [C++] Add generic multi-output node
Key: ARROW-16524
URL: https://issues.apache.org/jira/browse/ARROW-16524
Project: Apache Arrow
Issue Type: Sub-task
Components: C++
Reporter: Weston Pace
Assignee: Sasha Krassovsky
A node with multiple outputs is a bit of a tricky thing to create and deserving
of its own node type. This node would be a pipeline breaker. It would need to
schedule N tasks for each incoming tasks (potentially N-1 if you want to run
one of the outputs on the current task). It will need to be clever about how
it applies backpressure. If either downstream node asks for backpressure then
the signal should be forwarded.
Another bonus is that if we can encapsulate this behavior in a generic node
then we can get rid of the TeeNode because this would become a multi-output
node where one output is a write node and the other output is the regular path.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)