fn is_parquet(path: &Path) -> bool {
    let path: DirsAndFileName = path.clone().into();
    if let Some(filename) = path.file_name {
        filename.encoded().ends_with(".parquet")
    } else {
        false
    }
}
/// Checks if the given path is (likely) a parquet file.
Checks if the given path is (likely) a parquet file.
Checks if the given path is ( likely ) a parquet file .
fn is_parquet(path: &Path) -> bool {
    let path: DirsAndFileName = path.clone().into();
    if let Some(filename) = path.file_name {
        filename.encoded().ends_with(".parquet")
    } else {
        false
    }
}
fn is_parquet ( path : & Path ) -> bool { let path : DirsAndFileName = path . clone ( ) . into ( ) ; if let Some ( filename ) = path . file_name { filename . encoded ( ) . ends_with ( " " ) } else { false } }
Checks if the given path is (likely) a parquet file.
Checks if the given path is ( likely ) a parquet file .
path
&Path
path
&Path