| 599 | const char* kind_name() const override { return "TeeNode"; } |
| 600 | |
| 601 | Status Validate() const override { |
| 602 | ARROW_RETURN_NOT_OK(acero::MapNode::Validate()); |
| 603 | if (inputs_[0]->ordering().is_unordered() && sequencer_) { |
| 604 | return Status::Invalid("Tee node '", label(), |
| 605 | "' is configured to sequence output but there is no " |
| 606 | "meaningful ordering in the input"); |
| 607 | } |
| 608 | return Status::OK(); |
| 609 | } |
| 610 | |
| 611 | Status InputReceived(ExecNode* input, ExecBatch batch) override { |
| 612 | DCHECK_EQ(input, inputs_[0]); |