| 623 | void Finish() override { dataset_writer_->Finish(); } |
| 624 | |
| 625 | Result<compute::ExecBatch> ProcessBatch(compute::ExecBatch batch) override { |
| 626 | ARROW_ASSIGN_OR_RAISE(std::shared_ptr<RecordBatch> record_batch, |
| 627 | batch.ToRecordBatch(output_schema())); |
| 628 | ARROW_RETURN_NOT_OK(WriteNextBatch(std::move(record_batch), batch.guarantee)); |
| 629 | return batch; |
| 630 | } |
| 631 | |
| 632 | Status WriteNextBatch(std::shared_ptr<RecordBatch> batch, |
| 633 | compute::Expression guarantee) { |
nothing calls this directly
no test coverage detected