| 222 | |
| 223 | template <typename InType, typename Op> |
| 224 | void AddFloatValidityKernel(const std::shared_ptr<DataType>& ty, ScalarFunction* func) { |
| 225 | DCHECK_OK(func->AddKernel({ty}, boolean(), |
| 226 | applicator::ScalarUnary<BooleanType, InType, Op>::Exec)); |
| 227 | } |
| 228 | |
| 229 | template <bool kConstant> |
| 230 | Status ConstBoolExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |