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

Function ExampleNestedBatches

cpp/src/arrow/flight/test_util.cc:224–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224Status ExampleNestedBatches(RecordBatchVector* out) {
225 std::shared_ptr<RecordBatch> batch;
226 for (int i = 0; i < 3; ++i) {
227 RETURN_NOT_OK(ipc::test::MakeListRecordBatch(&batch));
228 out->push_back(batch);
229 }
230 return Status::OK();
231}
232
233Status ExampleLargeBatches(RecordBatchVector* out) {
234 const auto array_length = 32768;

Calls 3

MakeListRecordBatchFunction · 0.85
push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected