MCPcopy Create free account
hub / github.com/apache/arrow-rs / parse_string

Function parse_string

arrow-cast/src/cast/string.rs:66–74  ·  view source on GitHub ↗

Parse UTF-8

(
    array: &dyn Array,
    cast_options: &CastOptions,
)

Source from the content-addressed store, hash-verified

64
65/// Parse UTF-8
66pub(crate) fn parse_string<P: Parser, O: OffsetSizeTrait>(
67 array: &dyn Array,
68 cast_options: &CastOptions,
69) -> Result<ArrayRef, ArrowError> {
70 let string_array = array.as_string::<O>();
71 parse_string_iter::<P, _, _>(string_array.iter(), cast_options, || {
72 string_array.nulls().cloned()
73 })
74}
75
76/// Parse UTF-8 View
77pub(crate) fn parse_string_view<P: Parser>(

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
nullsMethod · 0.45

Tested by

no test coverage detected