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

Method Validate

cpp/src/arrow/scalar.cc:247–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 Status Validate(const Scalar& scalar) {
248 if (!scalar.type) {
249 return Status::Invalid("scalar lacks a type");
250 }
251 return VisitScalarInline(scalar, this);
252 }
253
254 Status Visit(const NullScalar& s) {
255 if (s.is_valid) {

Callers

nothing calls this directly

Calls 2

VisitScalarInlineFunction · 0.85
InvalidFunction · 0.70

Tested by

no test coverage detected