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

Method Decimal32

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

Source from the content-addressed store, hash-verified

437} // namespace
438
439std::shared_ptr<Array> RandomArrayGenerator::Decimal32(std::shared_ptr<DataType> type,
440 int64_t size,
441 double null_probability,
442 int64_t alignment,
443 MemoryPool* memory_pool) {
444 SmallDecimalGenerator<Decimal32Type> gen{type, this};
445 return gen.MakeRandomArray(size, null_probability, alignment, memory_pool);
446}
447
448std::shared_ptr<Array> RandomArrayGenerator::Decimal64(std::shared_ptr<DataType> type,
449 int64_t size,

Callers

nothing calls this directly

Calls 1

MakeRandomArrayMethod · 0.45

Tested by

no test coverage detected