Function make_data_type

Source
fn make_data_type<'a>(
    schema: &Schema<'a>,
    namespace: Option<&'a str>,
    resolver: &mut Resolver<'a>,
    use_utf8view: bool,
) -> Result<AvroDataType, ArrowError>
Expand description

Parses a AvroDataType from the provided Schema and the given name and namespace

name: is name used to refer to schema in its parent namespace: an optional qualifier used as part of a type hierarchy If the data type is a string, convert to use Utf8View if requested

This function is used during the schema conversion process to determine whether string data should be represented as StringArray (default) or StringViewArray.

use_utf8view: if true, use Utf8View instead of Utf8 for string types

See Resolver for more information