| 2998 | } |
| 2999 | |
| 3000 | Status MakeBooleanInt32Int64Batch(const int length, std::shared_ptr<RecordBatch>* out) { |
| 3001 | auto schema_ = MakeBooleanInt32Int64Schema(); |
| 3002 | std::shared_ptr<Array> a0, a1, a2; |
| 3003 | RETURN_NOT_OK(MakeRandomBooleanArray(length, false, &a0)); |
| 3004 | RETURN_NOT_OK(MakeRandomInt32Array(length, false, arrow::default_memory_pool(), &a1)); |
| 3005 | RETURN_NOT_OK(MakeRandomInt64Array(length, false, arrow::default_memory_pool(), &a2)); |
| 3006 | *out = RecordBatch::Make(std::move(schema_), length, {a0, a1, a2}); |
| 3007 | return Status::OK(); |
| 3008 | } |
| 3009 | |
| 3010 | std::shared_ptr<Buffer> MakeBooleanInt32Int64File(int num_rows, int num_batches) { |
| 3011 | auto schema_ = MakeBooleanInt32Int64Schema(); |
no test coverage detected