| 544 | } |
| 545 | |
| 546 | Status EnsureAllocated() { |
| 547 | if (bitmap_preallocated_) { |
| 548 | return Status::OK(); |
| 549 | } |
| 550 | ARROW_ASSIGN_OR_RAISE(output_->buffers[0], ctx_->AllocateBitmap(output_->length)); |
| 551 | bitmap_ = output_->buffers[0]->mutable_data(); |
| 552 | return Status::OK(); |
| 553 | } |
| 554 | |
| 555 | Status AllNullShortCircuit() { |
| 556 | // OK, the output should be all null |
nothing calls this directly
no test coverage detected