| 564 | public arrow::acero::util::SerialSequencingQueue::Processor { |
| 565 | public: |
| 566 | TeeNode(acero::ExecPlan* plan, std::vector<acero::ExecNode*> inputs, |
| 567 | std::shared_ptr<Schema> output_schema, |
| 568 | FileSystemDatasetWriteOptions write_options) |
| 569 | : MapNode(plan, std::move(inputs), std::move(output_schema)), |
| 570 | write_options_(std::move(write_options)) { |
| 571 | if (write_options.preserve_order) { |
| 572 | sequencer_ = acero::util::SerialSequencingQueue::Make(this); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | Status StartProducing() override { |
| 577 | ARROW_ASSIGN_OR_RAISE( |