rewreu opened a new issue #12527:
URL: https://github.com/apache/arrow/issues/12527
Hi there,
What's the good way to run arrow::StringArray::GetString in parallel?
The following code hangs due to running `a->GetString(i)` with multithreads
```c++
std::shared_ptr<arrow::StringArray> a;
std::unordered_set<std::string> UniqueStrings;
#pragma omp parallel for
for(long i = 0; i < lens; i++) {
UniqueStrings.insert(a->GetString(i));
doSomethingElse();
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]