-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directly write to MutableBuffer in substring #1423
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one nit
arrow/src/util/bench_util.rs
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "a random"
Maybe: "Creates a random (but fixed-seeded) array of strings with given size, null density and length"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I copied from other functions here. 😄
Codecov Report
@@ Coverage Diff @@
## master #1423 +/- ##
==========================================
+ Coverage 83.13% 83.17% +0.03%
==========================================
Files 182 182
Lines 53321 53439 +118
==========================================
+ Hits 44330 44449 +119
+ Misses 8991 8990 -1
Continue to review full report at Codecov.
|
Merged, thanks! |
Thanks @sunchao ! |
This is a nice change |
Which issue does this PR close?
Closes #1422.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?