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