| 804 | } |
| 805 | |
| 806 | Status CheckInputExhausted() { |
| 807 | if (!input_exhausted) { |
| 808 | return InvalidView("too many buffers for view type"); |
| 809 | } |
| 810 | return Status::OK(); |
| 811 | } |
| 812 | |
| 813 | Result<std::shared_ptr<ArrayData>> GetDictionaryView(const DataType& out_type) { |
| 814 | if (in_data[in_layout_idx]->type->id() != Type::DICTIONARY) { |