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

Udi Meiri commented on BEAM-3600:
---------------------------------

Discussion: 
https://lists.apache.org/thread.html/92f3e652d3f961d67013ce997c4dfff0a1fab115e9eeefa2d9de5c19@%3Cdev.beam.apache.org%3E

> Do not ignore FileSystem errors and document expected behavior
> --------------------------------------------------------------
>
>                 Key: BEAM-3600
>                 URL: https://issues.apache.org/jira/browse/BEAM-3600
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Udi Meiri
>            Assignee: Udi Meiri
>            Priority: Major
>
> 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)

Reply via email to