Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jul 8, 2024
1 parent 841ffbf commit 64c38a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/polars-lazy/src/scan/file_list_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ fn expand_paths(

if path.extension() != ext {
polars_bail!(
InvalidOperation: "directory contained paths with different file extensions: \
first path: {}, second path: {}. If you would like to read all the files despite \
this, please pass a glob pattern (i.e. dir/* or dir/**/*)",
InvalidOperation: r#"directory contained paths with different file extensions: \
first path: {}, second path: {}. Please use a glob pattern to explicitly specify
which files to read (e.g. "dir/**/*", "dir/**/*.parquet")"#,
out_paths[i - 1].to_str().unwrap(), path.to_str().unwrap()
);
};
Expand Down

0 comments on commit 64c38a2

Please sign in to comment.