stenlarsson opened a new issue, #41364:
URL: https://github.com/apache/arrow/issues/41364

   ### Describe the enhancement requested
   
   The aggregators `first` and `last` are unusable in Ruby because they don't 
work when the execution plan is executed using threads:
   
   ```ruby
   require 'arrow'
   
   table = Arrow::Table.new(
     'foo' => [1, 1],
     'bar' => ['first', 'second'],
   )
   pp table.group('foo').aggregate('first(bar)')
   ```
   
   Executing this script results in:
   
   ```
   [execute-plan][build-node]: NotImplemented: Using ordered aggregator in 
multiple threaded execution is not supported (Arrow::Error::NotImplemented)
   ```
   
   This seems like the same issue that was fixed for Python in 
https://github.com/apache/arrow/pull/36768, and similar solution is needed for 
Ruby.
   
   ### Component(s)
   
   Ruby


-- 
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]

Reply via email to