| 140 | } |
| 141 | |
| 142 | Status PrintResults(FlightSqlClient& client, const FlightCallOptions& call_options, |
| 143 | const std::unique_ptr<FlightInfo>& info) { |
| 144 | const std::vector<FlightEndpoint>& endpoints = info->endpoints(); |
| 145 | |
| 146 | for (size_t i = 0; i < endpoints.size(); i++) { |
| 147 | std::cout << "Results from endpoint " << i + 1 << " of " << endpoints.size() |
| 148 | << std::endl; |
| 149 | ARROW_RETURN_NOT_OK(PrintResultsForEndpoint(client, call_options, endpoints[i])); |
| 150 | } |
| 151 | |
| 152 | return Status::OK(); |
| 153 | } |
| 154 | |
| 155 | Status RunMain() { |
| 156 | #ifdef ARROW_WITH_OPENTELEMETRY |
no test coverage detected