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

Method Decimal256

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

Source from the content-addressed store, hash-verified

464}
465
466std::shared_ptr<Array> RandomArrayGenerator::Decimal256(std::shared_ptr<DataType> type,
467 int64_t size,
468 double null_probability,
469 int64_t alignment,
470 MemoryPool* memory_pool) {
471 DecimalGenerator<Decimal256Type> gen{type, this};
472 return gen.MakeRandomArray(size, null_probability, alignment, memory_pool);
473}
474
475template <typename TypeClass, typename offset_type = typename TypeClass::offset_type>
476static std::shared_ptr<Array> GenerateBinaryArray(

Callers

nothing calls this directly

Calls 1

MakeRandomArrayMethod · 0.45

Tested by

no test coverage detected