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

Method Decimal256

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

Source from the content-addressed store, hash-verified

455}
456
457std::shared_ptr<Array> RandomArrayGenerator::Decimal256(std::shared_ptr<DataType> type,
458 int64_t size,
459 double null_probability,
460 int64_t alignment,
461 MemoryPool* memory_pool) {
462 DecimalGenerator<Decimal256Type> gen{type, this};
463 return gen.MakeRandomArray(size, null_probability, alignment, memory_pool);
464}
465
466template <typename TypeClass, typename offset_type = typename TypeClass::offset_type>
467static std::shared_ptr<Array> GenerateBinaryArray(

Callers

nothing calls this directly

Calls 1

MakeRandomArrayMethod · 0.45

Tested by

no test coverage detected