pub fn as_binary_array(array: &dyn Array) -> Result<&BinaryArray>