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

Function main

cpp/examples/arrow/dataset_documentation_example.cc:378–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378int main(int argc, char** argv) {
379 if (argc < 3) {
380 // Fake success for CI purposes.
381 return EXIT_SUCCESS;
382 }
383
384 std::string uri = argv[1];
385 std::string format_name = argv[2];
386 std::string mode = argc > 3 ? argv[3] : "no_filter";
387
388 auto status = RunDatasetDocumentation(format_name, uri, mode);
389 if (!status.ok()) {
390 std::cerr << status.ToString() << std::endl;
391 return EXIT_FAILURE;
392 }
393 return EXIT_SUCCESS;
394}

Callers

nothing calls this directly

Calls 3

RunDatasetDocumentationFunction · 0.85
okMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected