stenlarsson commented on issue #39582:
URL: https://github.com/apache/arrow/issues/39582#issuecomment-1914844288
Thanks for looking into this. Your change has no effect, however this seems
to help:
```patch
diff --git a/cpp/src/arrow/acero/query_context.cc
b/cpp/src/arrow/acero/query_context.cc
index 9f838508f..f5558f6fc 100644
--- a/cpp/src/arrow/acero/query_context.cc
+++ b/cpp/src/arrow/acero/query_context.cc
@@ -53,7 +53,7 @@ size_t QueryContext::max_concurrency() const { return
thread_indexer_.Capacity()
Result<util::TempVectorStack*> QueryContext::GetTempStack(size_t
thread_index) {
if (!tld_[thread_index].is_init) {
RETURN_NOT_OK(tld_[thread_index].stack.Init(
- memory_pool(), 8 * util::MiniBatch::kMiniBatchLength *
sizeof(uint64_t)));
+ memory_pool(), 256 * util::MiniBatch::kMiniBatchLength *
sizeof(uint64_t)));
tld_[thread_index].is_init = true;
}
return &tld_[thread_index].stack;
```
--
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]