Udi Meiri created BEAM-3782:
-------------------------------
Summary: Do not ignore FileSystem errors and document expected
behavior
Key: BEAM-3782
URL: https://issues.apache.org/jira/browse/BEAM-3782
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Reporter: Udi Meiri
Assignee: Udi Meiri
copy/rename:
* it should be an error if the dst file exists
* it should be an error if the src file doesn't exist
delete:
* it should be an error if the file/dir doesn't exist
FileBasedSink.finalize_write:
* should check (src, dst) pairs for existence:
** src only - regular rename
** dst only - skip rename
** both src and dst - if files don't match on metadata (checksum or size),
delete dst then rename, otherwise delete src and skip rename
** neither exist - return error: bad state
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)