| 428 | } |
| 429 | |
| 430 | Status Finish() { |
| 431 | if (latest_open_file_) { |
| 432 | auto file = std::move(latest_open_file_); |
| 433 | ARROW_RETURN_NOT_OK(file->Finish()); |
| 434 | } |
| 435 | used_filenames_.clear(); |
| 436 | return Status::OK(); |
| 437 | } |
| 438 | |
| 439 | void Abort() { |
| 440 | if (latest_open_file_) { |