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

Function GenerateBatch

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

Source from the content-addressed store, hash-verified

1438}
1439
1440std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields,
1441 int64_t length, SeedType seed,
1442 int64_t alignment,
1443 MemoryPool* memory_pool) {
1444 return RandomArrayGenerator(seed).BatchOf(fields, length, alignment, memory_pool);
1445}
1446} // namespace random
1447
1448void 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