You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… data in vector_hash_benchmark (#40307)
### Rationale for this change
Fix a wrong total_bytes to generate StringType's test data in vector_hash_benchmark
### What changes are included in this PR?
Use `params.length*byte_width` as the length of `std::vector<uint8_t> uniques` array.
### Are these changes tested?
### Are there any user-facing changes?
No
* GitHub Issue: #40306
Authored-by: hugo.zhang <hugo.zhang@openpie.com>
Signed-off-by: Benjamin Kietzman <bengilgit@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
A wrong total_bytes to generate StringType's test data in vector_hash_benchmark.
arrow/cpp/src/arrow/compute/kernels/vector_hash_benchmark.cc
Line 128 in 30e6d72
It may cause the implicit buffer-overflow and inaccurate benchmark.
Component(s)
C++
The text was updated successfully, but these errors were encountered: