sunchao commented on a change in pull request #1423:
URL: https://github.com/apache/arrow-rs/pull/1423#discussion_r824268996
##########
File path: arrow/src/util/bench_util.rs
##########
@@ -94,6 +94,15 @@ where
pub fn create_string_array<Offset: StringOffsetSizeTrait>(
size: usize,
null_density: f32,
+) -> GenericStringArray<Offset> {
+ create_string_array_with_len(size, null_density, 4)
+}
+
+/// Creates an random (but fixed-seeded) array of a given size, null density
and length of string
Review comment:
nit: "a random"
Maybe: "Creates a random (but fixed-seeded) array of strings with given
size, null density and length"
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]