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

Method Decimal32

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

Source from the content-addressed store, hash-verified

428} // namespace
429
430std::shared_ptr<Array> RandomArrayGenerator::Decimal32(std::shared_ptr<DataType> type,
431 int64_t size,
432 double null_probability,
433 int64_t alignment,
434 MemoryPool* memory_pool) {
435 SmallDecimalGenerator<Decimal32Type> gen{type, this};
436 return gen.MakeRandomArray(size, null_probability, alignment, memory_pool);
437}
438
439std::shared_ptr<Array> RandomArrayGenerator::Decimal64(std::shared_ptr<DataType> type,
440 int64_t size,

Callers

nothing calls this directly

Calls 1

MakeRandomArrayMethod · 0.45

Tested by

no test coverage detected