jameswinegar commented on a change in pull request #9303:
URL: https://github.com/apache/arrow/pull/9303#discussion_r563197536



##########
File path: rust/datafusion/src/datasource/csv.rs
##########
@@ -66,7 +66,10 @@ impl CsvFile {
                 let mut filenames: Vec<String> = vec![];
                 common::build_file_list(path, &mut filenames, 
options.file_extension)?;
                 if filenames.is_empty() {
-                    return Err(DataFusionError::Plan("No files 
found".to_string()));
+                    return Err(DataFusionError::Plan(format!(
+                        "No files found at {path}",

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to