| 4520 | void TearDown() override { ASSERT_EQ(pool_->bytes_allocated(), orig_allocated_); } |
| 4521 | |
| 4522 | RecordBatchVector MakeBatches(std::shared_ptr<Schema> schema, ArrayVector arrays) { |
| 4523 | DCHECK_EQ(schema->num_fields(), 1); |
| 4524 | RecordBatchVector batches; |
| 4525 | for (const auto& array : arrays) { |
| 4526 | batches.push_back(RecordBatch::Make(schema, array->length(), {array})); |
| 4527 | } |
| 4528 | return batches; |
| 4529 | } |
| 4530 | |
| 4531 | protected: |
| 4532 | MemoryPool* pool_; |
nothing calls this directly
no test coverage detected