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

Function GenerateArray

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

Source from the content-addressed store, hash-verified

1441}
1442
1443std::shared_ptr<arrow::Array> GenerateArray(const Field& field, int64_t length,
1444 SeedType seed, int64_t alignment,
1445 MemoryPool* memory_pool) {
1446 return RandomArrayGenerator(seed).ArrayOf(field, length, alignment, memory_pool);
1447}
1448
1449std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields,
1450 int64_t length, SeedType seed,

Callers 3

TEST_PFunction · 0.70
TESTFunction · 0.70
TEST_FFunction · 0.50

Calls 1

ArrayOfMethod · 0.45

Tested by 3

TEST_PFunction · 0.56
TESTFunction · 0.56
TEST_FFunction · 0.40