()
| 254 | /// ``` |
| 255 | #[cfg(feature = "parquet")] |
| 256 | pub fn parquet_test_data() -> String { |
| 257 | match get_data_dir("PARQUET_TEST_DATA", "../../parquet-testing/data") { |
| 258 | Ok(pb) => { |
| 259 | let mut path = pb.display().to_string(); |
| 260 | if cfg!(target_os = "windows") { |
| 261 | // Replace backslashes (Windows paths; avoids some test issues). |
| 262 | path = path.replace("\\", "/"); |
| 263 | } |
| 264 | path |
| 265 | } |
| 266 | Err(err) => panic!("failed to get parquet data dir: {err}"), |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | /// Returns a directory path for finding test data. |
| 271 | /// |
no test coverage detected
searching dependent graphs…