[ 
https://issues.apache.org/jira/browse/BEAM-8568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Moravek updated BEAM-8568:
--------------------------------
        Fix Version/s: 2.17.0
    Affects Version/s: 2.16.0
          Description: 
CWD structure:
{code}
src/test/resources/input/sometestfile.txt
{code}
 
Code:
{code:java}
input 
.apply(Create.of("src/test/resources/input/*)) 
.apply(FileIO.matchAll()) 
.apply(FileIO.readMatches())
{code}

The code above doesn't match any file starting Beam 2.16.0. The regression has 
been introduced in BEAM-7854.

  was:
Relative path in project:
{code:java}
src/test/resources/input/sometestfile.txt{code}
 

Code:
{code:java}
input 
.apply(Create.of("src/test/resources/input/*)) 
.apply(FileIO.matchAll()) 
.apply(FileIO.readMatches())
{code}
This code does not match any file. It does in beam version 2.16.0.

 

Bug was created by BEAM-7854.


> Local file system does not match relative path with wildcards
> -------------------------------------------------------------
>
>                 Key: BEAM-8568
>                 URL: https://issues.apache.org/jira/browse/BEAM-8568
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.16.0
>            Reporter: Ondrej Cerny
>            Priority: Major
>             Fix For: 2.17.0
>
>
> CWD structure:
> {code}
> src/test/resources/input/sometestfile.txt
> {code}
>  
> Code:
> {code:java}
> input 
> .apply(Create.of("src/test/resources/input/*)) 
> .apply(FileIO.matchAll()) 
> .apply(FileIO.readMatches())
> {code}
> The code above doesn't match any file starting Beam 2.16.0. The regression 
> has been introduced in BEAM-7854.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to