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

Function GenerateArray

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

Source from the content-addressed store, hash-verified

1432}
1433
1434std::shared_ptr<arrow::Array> GenerateArray(const Field& field, int64_t length,
1435 SeedType seed, int64_t alignment,
1436 MemoryPool* memory_pool) {
1437 return RandomArrayGenerator(seed).ArrayOf(field, length, alignment, memory_pool);
1438}
1439
1440std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields,
1441 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