[ 
https://issues.apache.org/jira/browse/FLINK-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436460#comment-15436460
 ] 

ASF GitHub Bot commented on FLINK-3677:
---------------------------------------

Github user mxm commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2109#discussion_r76198999
  
    --- Diff: 
flink-core/src/test/java/org/apache/flink/api/common/io/DefaultFilterTest.java 
---
    @@ -34,14 +34,18 @@
        public static Collection<Object[]> data() {
                return Arrays.asList(new Object[][] {
                        {"file.txt",                    false},
    +
                        {".file.txt",                   true},
    -                   {"_file.txt",                   true},
    -                   {"_COPYING_",                   true},
                        {"dir/.file.txt",               true},
    -                   {"dir/_file.txt",               true},
    -                   {"dir/_COPYING_",               true},
                        {".dir/file.txt",               false},
    +
    +                   {"_file.txt",                   true},
    +                   {"dir/_file.txt",               true},
                        {"_dir/file.txt",               false},
    +
    +                   // Check filtering Hadoop's unfinished files
    +                   {"_COPYING_",                   true},
    --- End diff --
    
    This should contain the newly introduced constant.


> FileInputFormat: Allow to specify include/exclude file name patterns
> --------------------------------------------------------------------
>
>                 Key: FLINK-3677
>                 URL: https://issues.apache.org/jira/browse/FLINK-3677
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: Maximilian Michels
>            Assignee: Ivan Mushketyk
>            Priority: Minor
>              Labels: starter
>
> It would be nice to be able to specify a regular expression to filter files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to