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

Function PrintResults

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

Source from the content-addressed store, hash-verified

140}
141
142Status 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
155Status RunMain() {
156#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