MCPcopy Create free account
hub / github.com/apache/arrow / PrintResults

Function PrintResults

cpp/src/arrow/flight/sql/test_app_cli.cc:150–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150Status 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
163Status RunMain() {
164#ifdef ARROW_WITH_OPENTELEMETRY

Callers 1

RunMainFunction · 0.85

Calls 3

PrintResultsForEndpointFunction · 0.85
OKFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected