| 517 | batch_writer_(std::move(writer)) {} |
| 518 | |
| 519 | Status CsvFileWriter::Write(const std::shared_ptr<RecordBatch>& batch) { |
| 520 | return batch_writer_->WriteRecordBatch(*batch); |
| 521 | } |
| 522 | |
| 523 | Future<> CsvFileWriter::FinishInternal() { |
| 524 | // The CSV writer's Close() is a no-op, so just treat it as synchronous |