-
Notifications
You must be signed in to change notification settings - Fork 960
arrow: add concat structs benchmark #7520
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
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 -- thank you @asubiotto
b939cfe
to
3f8b828
Compare
Running these benchmarks on the other PR I realized I made the int32 values slice as large as the dictionary length. Changed it from 1024 to 20 distinct values out of 1024 to be more realistic. |
3f8b828
to
f74a0de
Compare
Further reduced the verbosity of the benchmark and parametrized batch size + count since I found it useful to tweak these in #7519 |
f74a0de
to
24cf67d
Compare
}) | ||
.collect::<Vec<_>>(); | ||
|
||
let array_refs = struct_arrays |
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.
this is a really annoying part of the concat API
Let's get this one in and we can iterate on it once merged |
Thanks again @asubiotto |
Rationale for this change
A struct concatenation benchmark was requested in #7517 (review)
What changes are included in this PR?
This PR creates a struct with a primitive field, and two sparse dictionary fields (one primitive, one utf8) and benchmarks concatenation.