ywgrit opened a new issue, #40152: URL: https://github.com/apache/arrow/issues/40152
### 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++ -- 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]
