| 526 | } |
| 527 | |
| 528 | Status FinishInternal(std::shared_ptr<ArrayData>* out) override { |
| 529 | std::shared_ptr<ArrayData> dictionary; |
| 530 | ARROW_RETURN_NOT_OK(FinishWithDictOffset(/*offset=*/0, out, &dictionary)); |
| 531 | |
| 532 | // Set type of array data to the right dictionary type |
| 533 | (*out)->type = type(); |
| 534 | (*out)->dictionary = dictionary; |
| 535 | return Status::OK(); |
| 536 | } |
| 537 | |
| 538 | Status FinishWithDictOffset(int64_t dict_offset, |
| 539 | std::shared_ptr<ArrayData>* out_indices, |
no test coverage detected