| 897 | } |
| 898 | |
| 899 | Status ExecCopyArraySpan(KernelContext*, const ExecSpan& batch, ExecResult* out) { |
| 900 | DCHECK_EQ(1, batch.num_values()); |
| 901 | int value_size = batch[0].type()->byte_width(); |
| 902 | const ArraySpan& arg0 = batch[0].array; |
| 903 | ArraySpan* out_arr = out->array_span_mutable(); |
| 904 | uint8_t* dst = out_arr->buffers[1].data + out_arr->offset * value_size; |
| 905 | const uint8_t* src = arg0.buffers[1].data + arg0.offset * value_size; |
| 906 | std::memcpy(dst, src, batch.length * value_size); |
| 907 | return Status::OK(); |
| 908 | } |
| 909 | |
| 910 | Status ExecComputedBitmap(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) { |
| 911 | // Propagate nulls not used. Check that the out bitmap isn't the same already |
no test coverage detected