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

Method Decimal32Type

cpp/src/arrow/type.cc:1497–1500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495// Decimal32 type
1496
1497Decimal32Type::Decimal32Type(int32_t precision, int32_t scale)
1498 : DecimalType(type_id, 4, precision, scale) {
1499 ARROW_CHECK_OK(ValidateDecimalPrecision<Decimal32Type>(precision));
1500}
1501
1502Result<std::shared_ptr<DataType>> Decimal32Type::Make(int32_t precision, int32_t scale) {
1503 RETURN_NOT_OK(ValidateDecimalPrecision<Decimal32Type>(precision));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected