| 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 = |