| 1339 | } |
| 1340 | |
| 1341 | Status WriteBatch(const std::shared_ptr<RecordBatch>& batch, |
| 1342 | const std::shared_ptr<const KeyValueMetadata>& metadata = nullptr) { |
| 1343 | RETURN_NOT_OK(writer_->WriteRecordBatch(*batch, metadata)); |
| 1344 | return Status::OK(); |
| 1345 | } |
| 1346 | |
| 1347 | Status WriteTable(const RecordBatchVector& batches) { |
| 1348 | ARROW_ASSIGN_OR_RAISE(auto table, Table::FromRecordBatches(batches)); |
nothing calls this directly
no test coverage detected