| 766 | } |
| 767 | |
| 768 | DictionaryScalar::DictionaryScalar(std::shared_ptr<DataType> type) |
| 769 | : internal::PrimitiveScalarBase(std::move(type)), |
| 770 | value{MakeNullScalar(checked_cast<const DictionaryType&>(*this->type).index_type()), |
| 771 | MakeArrayOfNull(checked_cast<const DictionaryType&>(*this->type).value_type(), |
| 772 | 0) |
| 773 | .ValueOrDie()} {} |
| 774 | |
| 775 | namespace { |
| 776 |
nothing calls this directly
no test coverage detected