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

Method Decimal128Type

cpp/src/arrow/type.cc:1523–1526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1521// Decimal128 type
1522
1523Decimal128Type::Decimal128Type(int32_t precision, int32_t scale)
1524 : DecimalType(type_id, 16, precision, scale) {
1525 ARROW_CHECK_OK(ValidateDecimalPrecision<Decimal128Type>(precision));
1526}
1527
1528Result<std::shared_ptr<DataType>> Decimal128Type::Make(int32_t precision, int32_t scale) {
1529 RETURN_NOT_OK(ValidateDecimalPrecision<Decimal128Type>(precision));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected