viirya commented on a change in pull request #1465: URL: https://github.com/apache/arrow-rs/pull/1465#discussion_r833848532
########## File path: arrow/src/compute/kernels/length.rs ########## @@ -94,18 +111,20 @@ where .downcast_ref::<GenericStringArray<O>>() .unwrap(); let bits_in_bytes = O::from_usize(8).unwrap(); - unary_offsets_string::<O, _>(array, T::DATA_TYPE, |x| x * bits_in_bytes) + unary_offsets!(array, T::DATA_TYPE, |x| x * bits_in_bytes) } /// Returns an array of Int32/Int64 denoting the number of bytes in each string in the array. Review comment: ```suggestion /// Returns an array of Int32/Int64 denoting the number of bytes in each string/binary in the array. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org