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

Function main

cpp/examples/arrow/flight_sql_example.cc:77–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77int main(int argc, char** argv) {
78 gflags::ParseCommandLineFlags(&argc, &argv, true);
79
80 if (FLAGS_host.empty()) {
81 // For CI
82 std::cerr << "Must specify the Flight SQL server host with -host" << std::endl;
83 return EXIT_SUCCESS;
84 }
85
86 auto status = Main();
87 if (!status.ok()) {
88 std::cerr << status.ToString() << std::endl;
89 return EXIT_FAILURE;
90 }
91 return EXIT_SUCCESS;
92}

Callers

nothing calls this directly

Calls 4

MainFunction · 0.70
emptyMethod · 0.45
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected