Function datafusion_common::test_util::parquet_test_data
source · pub fn parquet_test_data() -> String
Expand description
Returns the parquet test data directory, which is by default
stored in a git submodule rooted at
parquet-testing/data
.
The default can be overridden by the optional environment variable
PARQUET_TEST_DATA
panics when the directory can not be found.
Example:
let testdata = datafusion_common::test_util::parquet_test_data();
let filename = format!("{}/binary.parquet", testdata);
assert!(std::path::PathBuf::from(filename).exists());