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

Function GenerateBatch

cpp/src/arrow/testing/random.cc:1449–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1447}
1448
1449std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields,
1450 int64_t length, SeedType seed,
1451 int64_t alignment,
1452 MemoryPool* memory_pool) {
1453 return RandomArrayGenerator(seed).BatchOf(fields, length, alignment, memory_pool);
1454}
1455} // namespace random
1456
1457void rand_day_millis(int64_t N, std::vector<DayTimeIntervalType::DayMilliseconds>* out) {

Callers 7

MakeGeneratedRecordBatchFunction · 0.85
TEST_PFunction · 0.85
MakeParquetObjectMethod · 0.85
TEST_PFunction · 0.85
TYPED_TESTFunction · 0.85
TestRandomConsumeFunction · 0.85
TestRandomLookupFunction · 0.85

Calls 1

BatchOfMethod · 0.80

Tested by 6

MakeGeneratedRecordBatchFunction · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
TYPED_TESTFunction · 0.68
TestRandomConsumeFunction · 0.68
TestRandomLookupFunction · 0.68