| 1003 | namespace { |
| 1004 | |
| 1005 | Status CheckCanExecuteChunked(const VectorKernel* kernel) { |
| 1006 | if (kernel->exec_chunked == nullptr) { |
| 1007 | return Status::Invalid( |
| 1008 | "Vector kernel cannot execute chunkwise and no " |
| 1009 | "chunked exec function was defined"); |
| 1010 | } |
| 1011 | |
| 1012 | if (kernel->null_handling == NullHandling::INTERSECTION) { |
| 1013 | return Status::Invalid( |
| 1014 | "Null pre-propagation is unsupported for ChunkedArray " |
| 1015 | "execution in vector kernels"); |
| 1016 | } |
| 1017 | return Status::OK(); |
| 1018 | } |
| 1019 | |
| 1020 | } // namespace |
| 1021 |
no test coverage detected