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