You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/01/25 14:39:12 UTC

[GitHub] [arrow-datafusion] Ted-Jiang commented on a change in pull request #1665: Skip some path in list_file_with_suffix.

Ted-Jiang commented on a change in pull request #1665:
URL: https://github.com/apache/arrow-datafusion/pull/1665#discussion_r791778966



##########
File path: datafusion/src/datasource/object_store/mod.rs
##########
@@ -141,7 +141,7 @@ pub trait ObjectStore: Sync + Send + Debug {
         let suffix = suffix.to_owned();
         Ok(Box::pin(file_stream.filter(move |fr| {
             let has_suffix = match fr {
-                Ok(f) => f.path().ends_with(&suffix),
+                Ok(f) => f.path().ends_with(&suffix) && !should_filter_out(f.path()),

Review comment:
       @Jimexist Thanks, have merged into one func 




-- 
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.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

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