Describe the bug, including details regarding any error messages, version, and platform.
I use an arrow::compute::literal in my parquet reading pipeline and get ThreadSanitizer reports about this code:
|
auto* offsets = reinterpret_cast<offset_type*>(scratch_space); |
|
offsets[0] = 0; |
|
offsets[1] = static_cast<offset_type>(value_size); |
If I am reading it right, this results in issuing write instructions during what would seem to be read-only accesses, and this indeed looks racy.
Component(s)
C++, Parquet
Describe the bug, including details regarding any error messages, version, and platform.
I use an
arrow::compute::literalin my parquet reading pipeline and get ThreadSanitizer reports about this code:arrow/cpp/src/arrow/array/data.cc
Lines 288 to 290 in c23a097
If I am reading it right, this results in issuing write instructions during what would seem to be read-only accesses, and this indeed looks racy.
Component(s)
C++, Parquet