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

Method Decimal128

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::Decimal128(std::shared_ptr<DataType> type,
458 int64_t size,
459 double null_probability,
460 int64_t alignment,
461 MemoryPool* memory_pool) {
462 DecimalGenerator<Decimal128Type> gen{type, this};
463 return gen.MakeRandomArray(size, null_probability, alignment, memory_pool);
464}
465
466std::shared_ptr<Array> RandomArrayGenerator::Decimal256(std::shared_ptr<DataType> type,
467 int64_t size,

Callers

nothing calls this directly

Calls 1

MakeRandomArrayMethod · 0.45

Tested by

no test coverage detected