| 816 | } |
| 817 | |
| 818 | Result<std::shared_ptr<ArrayData>> GetDictionaryView(const DataType& out_type) { |
| 819 | if (in_data[in_layout_idx]->type->id() != Type::DICTIONARY) { |
| 820 | return InvalidView("Cannot get view as dictionary type"); |
| 821 | } |
| 822 | const auto& dict_out_type = static_cast<const DictionaryType&>(out_type); |
| 823 | return internal::GetArrayView(in_data[in_layout_idx]->dictionary, |
| 824 | dict_out_type.value_type()); |
| 825 | } |
| 826 | |
| 827 | Status MakeDataView(const std::shared_ptr<Field>& out_field, |
| 828 | std::shared_ptr<ArrayData>* out) { |
nothing calls this directly
no test coverage detected