[][src]Function arrow::compute::kernels::length::length

pub fn length(array: &dyn Array) -> Result<ArrayRef>

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