| 307 | struct ParseString { |
| 308 | template <typename OutValue, typename Arg0Value> |
| 309 | OutValue Call(KernelContext* ctx, Arg0Value val, Status* st) const { |
| 310 | OutValue result = OutValue(0); |
| 311 | if (ARROW_PREDICT_FALSE(!ParseValue<OutType>(val.data(), val.size(), &result))) { |
| 312 | *st = Status::Invalid("Failed to parse string: '", val, "' as a scalar of type ", |
| 313 | TypeTraits<OutType>::type_singleton()->ToString()); |
| 314 | } |
| 315 | return result; |
| 316 | } |
| 317 | }; |
| 318 | |
| 319 | template <typename O, typename I> |
nothing calls this directly
no test coverage detected