stenlarsson commented on issue #41364: URL: https://github.com/apache/arrow/issues/41364#issuecomment-2077001892
Wouldn't that mean we have to implement bindings for the whole "declaration" API? I don't fully understand the code, but it seems that when `use_threads` is false it creates a thread pool with only one thread: https://github.com/apache/arrow/blob/de3cdc00c21fd3e9d8d763099591f23720ca8d1f/cpp/src/arrow/acero/exec_plan.cc#L769-L776 The size of the thread pool is then checked by the GroupByNode: https://github.com/apache/arrow/blob/32885c91a1c94f1c8530815f4d4b8fc068859de8/cpp/src/arrow/acero/groupby_aggregate_node.cc#L189 I think if we were able to create an `ExecuteContext` with such a thread pool in Ruby, and then pass that to the constructor of `ExecutePlan` we should be good, right? -- 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]
