Skip to content

[C++] A little question about the sort implementation #40152

@ywgrit

Description

@ywgrit

Describe the enhancement requested

Hi all.
I was reading the implementation of the sort operator and found that TableSorter::SortInternal calls BatchesFromTable to get Record batches:
ARROW_ASSIGN_OR_RAISE(RecordBatchVector batches. BatchesFromTable(table_));
, but TableSorter already builds batches_ in the constructor, so why not just use it?

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions