| 916 | |
| 917 | template <typename T, typename ScalarType = typename TypeTraits<T>::ScalarType> |
| 918 | Status VisitListLike(const T& type, int64_t list_size = 0) { |
| 919 | ARROW_ASSIGN_OR_RAISE(std::shared_ptr<Array> value, |
| 920 | MakeArrayOfNull(type.value_type(), list_size)); |
| 921 | out_ = std::make_shared<ScalarType>(std::move(value), type_, /*is_valid=*/false); |
| 922 | return Status::OK(); |
| 923 | } |
| 924 | |
| 925 | Status Visit(const ListType& type) { return VisitListLike<ListType>(type); } |
| 926 |
nothing calls this directly
no test coverage detected