MCPcopy Create free account
hub / github.com/apache/arrow / MakeNullRecordBatch

Function MakeNullRecordBatch

cpp/src/arrow/ipc/test_common.cc:428–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428Status 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
437Status MakeListRecordBatchSized(const int length, std::shared_ptr<RecordBatch>* out) {
438 // Make the schema

Callers 2

TEST_PFunction · 0.85
BatchesFunction · 0.85

Calls 4

schemaFunction · 0.70
fieldFunction · 0.50
MakeFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected