kou commented on issue #39582:
URL: https://github.com/apache/arrow/issues/39582#issuecomment-1913363161
Hmm. I couldn't reproduce this on my environment...
It seems that buffer size isn't enough for this case on your environment.
The following isn't a real fix but does the following resolve this case on your
environment?
```diff
diff --git a/cpp/src/arrow/compute/row/grouper.cc
b/cpp/src/arrow/compute/row/grouper.cc
index 5e23eda16f..bdf2f52572 100644
--- a/cpp/src/arrow/compute/row/grouper.cc
+++ b/cpp/src/arrow/compute/row/grouper.cc
@@ -533,7 +533,7 @@ struct GrouperFastImpl : public Grouper {
auto impl = std::make_unique<GrouperFastImpl>();
impl->ctx_ = ctx;
- RETURN_NOT_OK(impl->temp_stack_.Init(ctx->memory_pool(), 64 *
minibatch_size_max_));
+ RETURN_NOT_OK(impl->temp_stack_.Init(ctx->memory_pool(), 256 *
minibatch_size_max_));
impl->encode_ctx_.hardware_flags =
arrow::internal::CpuInfo::GetInstance()->hardware_flags();
impl->encode_ctx_.stack = &impl->temp_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]