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