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

Method CheckValueNotNull

cpp/src/arrow/scalar.cc:281–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280 template <typename ScalarType>
281 Status CheckValueNotNull(const ScalarType& s) {
282 if (!s.value) {
283 return Status::Invalid(s.type->ToString(), " value is null");
284 }
285 return Status::OK();
286 }
287
288 Status Visit(const FixedSizeBinaryScalar& s) {
289 const auto& byte_width =

Callers

nothing calls this directly

Calls 3

InvalidFunction · 0.70
OKFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected