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