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

Function SampleArray

cpp/src/arrow/util/align_util_test.cc:432–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430
431template <typename ArrowType>
432std::shared_ptr<ArrayData> SampleArray() {
433 random::RandomArrayGenerator gen(42);
434 return gen.ArrayOf(sample_type<ArrowType>(), 100)->data();
435}
436
437template <>
438std::shared_ptr<ArrayData> SampleArray<SparseUnionType>() {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
ArrayOfMethod · 0.45

Tested by

no test coverage detected