Skip to content

[Ruby] Allow disabling threads for execution plans #41364

Description

@stenlarsson

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'],)pptable.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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions