Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
-
None
Description
Files are not properly closed when an exception is thrown in VcfSource (apache_beam/io/vcfio.py).
This is because the file is opened within TextSource (using a 'with' statement), but the exception in VcfSource is thrown outside of that scope.
This only causes an issue in Windows unit tests where files cannot be deleted if they're used by another process.
Attachments
Issue Links
- links to