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.
|
const int64_t total_bytes = this->byte_width * params.num_unique; |
It may cause the implicit buffer-overflow and inaccurate benchmark.
Component(s)
C++
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++