| 521 | } |
| 522 | |
| 523 | Future<> CsvFileWriter::FinishInternal() { |
| 524 | // The CSV writer's Close() is a no-op, so just treat it as synchronous |
| 525 | RETURN_NOT_OK(batch_writer_->Close()); |
| 526 | return Status::OK(); |
| 527 | } |
| 528 | |
| 529 | } // namespace dataset |
| 530 | } // namespace arrow |