From a255da72ca95ae543e95c4b439dc7c87310661aa Mon Sep 17 00:00:00 2001 From: Xin Li Date: Wed, 28 Aug 2024 17:13:13 +0800 Subject: [PATCH] Update comment --- arrow-array/src/array/byte_view_array.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arrow-array/src/array/byte_view_array.rs b/arrow-array/src/array/byte_view_array.rs index fbd2fa3ebd04..6bc77a02f619 100644 --- a/arrow-array/src/array/byte_view_array.rs +++ b/arrow-array/src/array/byte_view_array.rs @@ -319,6 +319,8 @@ impl GenericByteViewArray { /// Returns an iterator over the prefix bytes of this array with respect to the prefix length. /// If the prefix length is larger than the string length, it will return None. + /// + /// Note for null views, it returns None. pub fn prefix_bytes_iter(&self, prefix_len: usize) -> impl Iterator> { self.views().into_iter().map(move |v| { let len = (*v as u32) as usize;