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:
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 #36768, and similar solution is needed for Ruby.
Component(s)
Ruby
Describe the enhancement requested
The aggregators
firstandlastare unusable in Ruby because they don't work when the execution plan is executed using threads:Executing this script results in:
This seems like the same issue that was fixed for Python in #36768, and similar solution is needed for Ruby.
Component(s)
Ruby