pub fn bit_length(array: &dyn Array) -> Result<ArrayRef, ArrowError>
Expand description
Returns an array of Int32/Int64 denoting the number of bits in each value in the array.
- this only accepts StringArray/Utf8, LargeString/LargeUtf8, BinaryArray and LargeBinaryArray, or DictionaryArray with above Arrays as values
- bit_length of null is null.
- bit_length is in number of bits