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

Function StoreBatches

cpp/src/arrow/dataset/scanner_benchmark.cc:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79static std::map<std::pair<size_t, size_t>, RecordBatchVector> datasets;
80
81void StoreBatches(size_t num_batches, size_t batch_size,
82 const RecordBatchVector& batches) {
83 datasets[std::make_pair(num_batches, batch_size)] = batches;
84}
85
86RecordBatchVector GetBatches(size_t num_batches, size_t batch_size) {
87 auto iter = datasets.find(std::make_pair(num_batches, batch_size));

Callers 1

ScanBenchmark_CustomizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected