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

Function main

cpp/src/arrow/flight/sql/example/acero_main.cc:54–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int main(int argc, char** argv) {
55 gflags::ParseCommandLineFlags(&argc, &argv, true);
56
57 arrow::util::ArrowLog::StartArrowLog("acero-flight-sql-server",
58 arrow::util::ArrowLogLevel::ARROW_INFO);
59 arrow::util::ArrowLog::InstallFailureSignalHandler();
60
61 arrow::Status st = RunMain(FLAGS_location);
62
63 arrow::util::ArrowLog::ShutDownArrowLog();
64
65 if (!st.ok()) {
66 std::cerr << st << std::endl;
67 return EXIT_FAILURE;
68 }
69 return EXIT_SUCCESS;
70}

Callers

nothing calls this directly

Calls 2

RunMainFunction · 0.70
okMethod · 0.45

Tested by

no test coverage detected