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

Method CheckValueNotNull

cpp/src/arrow/scalar.cc:279–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277
278 template <typename ScalarType>
279 Status CheckValueNotNull(const ScalarType& s) {
280 if (!s.value) {
281 return Status::Invalid(s.type->ToString(), " value is null");
282 }
283 return Status::OK();
284 }
285
286 Status Visit(const FixedSizeBinaryScalar& s) {
287 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