Naman-Katiyar opened a new pull request, #41388:
URL: https://github.com/apache/beam/pull/41388

   Fixes apache/beam#41375
   
   LocalFileSystem._list() returned nothing for an empty directory prefix 
because os.path.exists('') is False, so FileSystem.match() found no files for 
bare relative globs such as 'users.json*' in the current working directory. 
This change normalises an empty prefix to '.' and strips the leading './' from 
the yielded paths so they line up with the caller's relative pattern. A 
regression test matching a bare relative glob in the current working directory 
is included.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to