| 50 | } |
| 51 | |
| 52 | Result<Datum> DoFinish() override { |
| 53 | std::unique_lock<std::mutex> lock(mutex_); |
| 54 | ARROW_ASSIGN_OR_RAISE(auto table, |
| 55 | Table::FromRecordBatches(output_schema_, std::move(batches_))); |
| 56 | ARROW_ASSIGN_OR_RAISE(auto indices, SortIndices(table, options_, ctx_)); |
| 57 | return Take(table, indices, TakeOptions::NoBoundsCheck(), ctx_); |
| 58 | } |
| 59 | |
| 60 | std::string ToString() const override { return options_.ToString(); } |
| 61 |
nothing calls this directly
no test coverage detected