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

Function get_data_dir

cpp/src/parquet/test_util.cc:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace test {
36
37const char* get_data_dir() {
38 const auto result = std::getenv("PARQUET_TEST_DATA");
39 if (!result || !result[0]) {
40 throw ParquetTestException(
41 "Please point the PARQUET_TEST_DATA environment "
42 "variable to the test data directory");
43 }
44 return result;
45}
46
47std::string get_bad_data_dir() {
48 // PARQUET_TEST_DATA should point to ARROW_HOME/cpp/submodules/parquet-testing/data

Callers 14

data_fileFunction · 0.85
SetUpMethod · 0.85
TESTFunction · 0.85
TestReadTypedColumnIndexFunction · 0.85
GetDataFileMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
get_bad_data_dirFunction · 0.85
get_data_fileFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

Tested by

no test coverage detected