| 46 | } |
| 47 | |
| 48 | arrow::Future<> Finish() override { |
| 49 | // Signal to the consumer that the last batch has been delivered |
| 50 | // (we don't do any real work in this consumer so mark it finished immediately) |
| 51 | // |
| 52 | // The returned future should only finish when all outstanding tasks have completed |
| 53 | // (after this method is called Consume is guaranteed not to be called again) |
| 54 | std::cout << "-" << tag_ << " finished" << std::endl; |
| 55 | return arrow::Future<>::MakeFinished(); |
| 56 | } |
| 57 | |
| 58 | private: |
| 59 | // A unique label for instances to help distinguish logging output if a plan has |
no outgoing calls
no test coverage detected