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
{{ message }}
Repository navigation
[C++] DictionaryArray::dictionary() is not thread safe #36503
Describe the bug, including details regarding any error messages, version, and platform.
DictionaryArray::dictionary() lazily initalizes an Array to wrap its ArrayData::dictionary, but does not explicitly synchronize this so another thread which happens to call the same array's dictionary() function would introduce a data race.
StructArray::field() does similar lazy initialization but does synchronize, so it should be usable as a reference for fixing this.
Activity
HyukjinKwon commentedon Jan 20, 2026
Let me take a quick look at this 👍
GH-36503: [C++] Make DictionaryArray::dictionary() thread-safe (#48905)
pitrou commentedon May 13, 2026
Issue resolved by pull request 48905
#48905
apacheGH-36503: [C++] Make DictionaryArray::dictionary() thread-safe (a…