| 33 | using ::arrow::internal::checked_cast; |
| 34 | |
| 35 | bool IsFixedWidthLike(const ArraySpan& source, bool force_null_count, |
| 36 | bool exclude_bool_and_dictionary) { |
| 37 | return IsFixedWidthLike( |
| 38 | source, force_null_count, [exclude_bool_and_dictionary](const DataType& type) { |
| 39 | return !exclude_bool_and_dictionary || |
| 40 | (type.id() != Type::DICTIONARY && type.id() != Type::BOOL); |
| 41 | }); |
| 42 | } |
| 43 | |
| 44 | static int64_t FixedWidthInBytesFallback(const FixedSizeListType& fixed_size_list_type) { |
| 45 | auto* fsl = &fixed_size_list_type; |
no test coverage detected