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

Kenneth Knowles commented on BEAM-8535:
---------------------------------------

Thanks for catching the regression. I have put it on the 2.17.0 burndown and 
will alert the release manager. That release is in progress. If we can isolate 
the problem and fix it quickly it can make the 2.17.0 release.

> TextIO.read doesn't work with single wildcard with relative path
> ----------------------------------------------------------------
>
>                 Key: BEAM-8535
>                 URL: https://issues.apache.org/jira/browse/BEAM-8535
>             Project: Beam
>          Issue Type: Bug
>          Components: beam-model, io-java-files
>    Affects Versions: 2.16.0
>         Environment: Mac High Sierra 10.13.6.   DirectRunner local. 
>            Reporter: Tim
>            Assignee: Chamikara Madhusanka Jayalath
>            Priority: Critical
>             Fix For: 2.17.0
>
>
> It looks like the TextIO.read transform is not matching files when using a 
> glob wildcard when the glob starts with a * and the path is relative.  IE 
> /full/path/* and ./path/f* work but ./path/* does not.
> Reproduction steps using the word count example from the Beam Quick start for 
> current version 2.16 ([https://beam.apache.org/get-started/quickstart-java/]) 
> - 
> {code:java}
> $ mkdir test-folder && cp pom.xml ./test-folder
> $ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
> >      -Dexec.args="--inputFile=./test-folder/* --output=counts" 
> >-Pdirect-runner
> {code}
>  The above fails when it is expected to find the pom.xml file. I tested the 
> same way with 2.15 and it works as expected.  



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

Reply via email to