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

Function ExampleFloatBatches

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

Source from the content-addressed store, hash-verified

202}
203
204Status ExampleFloatBatches(RecordBatchVector* out) {
205 std::shared_ptr<RecordBatch> batch;
206 for (int i = 0; i < 5; ++i) {
207 // Make all different sizes, use different random seed
208 RETURN_NOT_OK(ipc::test::MakeFloatBatchSized(10 + i, &batch, i));
209 out->push_back(batch);
210 }
211 return Status::OK();
212}
213
214Status ExampleDictBatches(RecordBatchVector* out) {
215 // Just the same batch, repeated a few times

Callers 3

TestDoGetFloatsMethod · 0.85
DoGetMethod · 0.85
GetBatchForFlightFunction · 0.85

Calls 3

MakeFloatBatchSizedFunction · 0.85
push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected