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

Method ExecBatches

cpp/src/arrow/testing/generator.cc:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 Result<std::vector<::arrow::compute::ExecBatch>> ExecBatches(int64_t rows_per_batch,
291 int num_batches) override {
292 std::vector<::arrow::compute::ExecBatch> batches;
293 for (int i = 0; i < num_batches; i++) {
294 ARROW_ASSIGN_OR_RAISE(::arrow::compute::ExecBatch batch, ExecBatch(rows_per_batch));
295 batches.push_back(std::move(batch));
296 }
297 return batches;
298 }
299
300 Result<std::shared_ptr<::arrow::Table>> Table(int64_t rows_per_chunk,
301 int num_chunks = 1) override {

Callers 1

TESTFunction · 0.45

Calls 1

push_backMethod · 0.80

Tested by 1

TESTFunction · 0.36