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

Method SingleBatch

cpp/src/arrow/dataset/file_parquet_test.cc:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 std::shared_ptr<RecordBatch> SingleBatch(Fragment* fragment) {
169 auto batches = IteratorToVector(Batches(fragment));
170 EXPECT_EQ(batches.size(), 1);
171 return batches.front();
172 }
173
174 void CountRowsAndBatchesInScan(Fragment* fragment, int64_t expected_rows,
175 int64_t expected_batches) {

Callers

nothing calls this directly

Calls 3

IteratorToVectorFunction · 0.85
BatchesFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected