pub fn length(array: &Array) -> Result<ArrayRef> {
    match array.data_type() {
        DataType::Utf8 => length_string::<i32>(array, DataType::Int32),
        DataType::LargeUtf8 => length_string::<i64>(array, DataType::Int64),
        _ => Err(ArrowError::ComputeError(format!(
            "length not supported for {:?}",
            array.data_type()
        ))),
    }
}
/// Returns an array of Int32/Int64 denoting the number of characters in each string in the array.
///
/// * this only accepts StringArray/Utf8 and LargeString/LargeUtf8
/// * length of null is null.
/// * length is in number of bytes
Returns an array of Int32/Int64 denoting the number of characters in each string in the array.
this only accepts StringArray/Utf8 and LargeString/LargeUtf8
length of null is null.
length is in number of bytes
Returns an array of Int32 / Int64 denoting the number of characters in each string in the array . this only accepts StringArray / Utf8 and LargeString / LargeUtf8 length of null is null . length is in number of bytes
pub fn length(array: &Array) -> Result<ArrayRef> {
    match array.data_type() {
        DataType::Utf8 => length_string::<i32>(array, DataType::Int32),
        DataType::LargeUtf8 => length_string::<i64>(array, DataType::Int64),
        _ => Err(ArrowError::ComputeError(format!(
            "length not supported for {:?}",
            array.data_type()
        ))),
    }
}
pub fn length ( array : & Array ) -> Result < ArrayRef > { match array . data_type ( ) { DataType :: Utf8 => length_string :: < i32 > ( array , DataType :: Int32 ) , DataType :: LargeUtf8 => length_string :: < i64 > ( array , DataType :: Int64 ) , _ => Err ( ArrowError :: ComputeError ( format ! ( " " array data_type ( ) ) ) ) , } }
Returns an array of Int32/Int64 denoting the number of characters in each string in the array.
Returns an array of Int32 / Int64 denoting the number of characters in each string in the array .
array
&Array
array
&Array