| 1532 | } |
| 1533 | |
| 1534 | Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override { |
| 1535 | RETURN_NOT_OK(this->CheckTypeExact(*data->type(), Type::BOOL)); |
| 1536 | auto out_values = this->GetBlockColumnStart(rel_placement); |
| 1537 | for (int c = 0; c < data->num_chunks(); c++) { |
| 1538 | const auto& arr = checked_cast<const BooleanArray&>(*data->chunk(c)); |
| 1539 | for (int64_t i = 0; i < arr.length(); ++i) { |
| 1540 | *out_values++ = static_cast<uint8_t>(arr.Value(i)); |
| 1541 | } |
| 1542 | } |
| 1543 | return Status::OK(); |
| 1544 | } |
| 1545 | }; |
| 1546 | |
| 1547 | // ---------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected