| 595 | void Finish() override { dataset_writer_->Finish(); } |
| 596 | |
| 597 | Result<compute::ExecBatch> ProcessBatch(compute::ExecBatch batch) override { |
| 598 | ARROW_ASSIGN_OR_RAISE(std::shared_ptr<RecordBatch> record_batch, |
| 599 | batch.ToRecordBatch(output_schema())); |
| 600 | ARROW_RETURN_NOT_OK(WriteNextBatch(std::move(record_batch), batch.guarantee)); |
| 601 | return batch; |
| 602 | } |
| 603 | |
| 604 | Status WriteNextBatch(std::shared_ptr<RecordBatch> batch, |
| 605 | compute::Expression guarantee) { |
nothing calls this directly
no test coverage detected