| 274 | } |
| 275 | |
| 276 | ~SortedMergeNode() override { |
| 277 | PushTask(kPoisonPill); |
| 278 | #ifdef ARROW_ENABLE_THREADING |
| 279 | if (process_thread.joinable()) { |
| 280 | process_thread.join(); |
| 281 | } |
| 282 | #endif |
| 283 | } |
| 284 | |
| 285 | static arrow::Result<arrow::acero::ExecNode*> Make( |
| 286 | arrow::acero::ExecPlan* plan, std::vector<arrow::acero::ExecNode*> inputs, |