[ https://issues.apache.org/jira/browse/BEAM-7560?focusedWorklogId=317795&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-317795 ]
ASF GitHub Bot logged work on BEAM-7560: ---------------------------------------- Author: ASF GitHub Bot Created on: 24/Sep/19 20:02 Start Date: 24/Sep/19 20:02 Worklog Time Spent: 10m Work Description: robertwb commented on pull request #9579: [BEAM-7560] verifying file match URL: https://github.com/apache/beam/pull/9579#discussion_r327806663 ########## File path: sdks/python/apache_beam/io/textio_test.py ########## @@ -168,6 +168,28 @@ def test_read_single_file_larger_than_default_buffer(self): self._run_read_test(file_name, expected_data, buffer_size=TextSource.DEFAULT_READ_BUFFER_SIZE) + def test_create_file_then_read(self): + with open('.txt', 'w') as file: Review comment: These should be placed in a temp directory that gets cleaned up (see other tests in this class). ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 317795) Time Spent: 40m (was: 0.5h) > Python local filesystem match does not work without directory separator. > ------------------------------------------------------------------------ > > Key: BEAM-7560 > URL: https://issues.apache.org/jira/browse/BEAM-7560 > Project: Beam > Issue Type: Test > Components: io-py-files > Reporter: Robert Bradshaw > Priority: Major > Labels: ccoss2019, starter > Time Spent: 40m > Remaining Estimate: 0h > > E.g. {{beam.io.ReadFromText('./*.txt')}} works but > {{beam.io.ReadFromText('*.txt')}} throws a "No files found based on the > filepattern..." error. -- This message was sent by Atlassian Jira (v8.3.4#803005)