Skip to content

[C++] A wrong total_bytes to generate StringType's test data in vector_hash_benchmark #40306

@ZhangHuiGui

Description

@ZhangHuiGui

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++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions