| 35 | namespace test { |
| 36 | |
| 37 | const 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 | |
| 47 | std::string get_bad_data_dir() { |
| 48 | // PARQUET_TEST_DATA should point to ARROW_HOME/cpp/submodules/parquet-testing/data |
no test coverage detected