| 426 | } |
| 427 | |
| 428 | Status MakeNullRecordBatch(std::shared_ptr<RecordBatch>* out) { |
| 429 | const int64_t length = 500; |
| 430 | auto f0 = field("f0", null()); |
| 431 | auto schema = ::arrow::schema({f0}); |
| 432 | std::shared_ptr<Array> a0 = std::make_shared<NullArray>(length); |
| 433 | *out = RecordBatch::Make(schema, length, {a0}); |
| 434 | return Status::OK(); |
| 435 | } |
| 436 | |
| 437 | Status MakeListRecordBatchSized(const int length, std::shared_ptr<RecordBatch>* out) { |
| 438 | // Make the schema |