Parse UTF-8 View
(
array: &dyn Array,
cast_options: &CastOptions,
)
| 75 | |
| 76 | /// Parse UTF-8 View |
| 77 | pub(crate) fn parse_string_view<P: Parser>( |
| 78 | array: &dyn Array, |
| 79 | cast_options: &CastOptions, |
| 80 | ) -> Result<ArrayRef, ArrowError> { |
| 81 | let string_view_array = array.as_string_view(); |
| 82 | parse_string_iter::<P, _, _>(string_view_array.iter(), cast_options, || { |
| 83 | string_view_array.nulls().cloned() |
| 84 | }) |
| 85 | } |
| 86 | |
| 87 | fn parse_string_iter< |
| 88 | 'a, |
nothing calls this directly
no test coverage detected