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

Method OverflowError

cpp/src/arrow/util/decimal.cc:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106 template <typename Real>
107 static Status OverflowError(Real real, int precision, int scale) {
108 return Status::Invalid("Cannot convert ", real, " to ", DecimalTypeTraits::kTypeName,
109 "(precision = ", precision, ", scale = ", scale,
110 "): overflow");
111 }
112
113 template <typename Real>
114 static Result<DecimalType> FromPositiveReal(Real real, int32_t precision,

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected