Skip to content

Fix make SFTPOperator delete idempotent (return a warning instead of a error when file is already absent) - #62639

Merged
potiuk merged 1 commit into
apache:mainfrom
Eason09053360:Fix-Make-SFTPOperator-delete-idempotent
Mar 12, 2026
Merged

Fix make SFTPOperator delete idempotent (return a warning instead of a error when file is already absent)#62639
potiuk merged 1 commit into
apache:mainfrom
Eason09053360:Fix-Make-SFTPOperator-delete-idempotent

Conversation

@Eason09053360

@Eason09053360 Eason09053360 commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

updates the SFTPOperator's delete operation to handle missing files or directories.
Emitting a warning if file is already absent.

closes: #56190


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@Eason09053360
Eason09053360 marked this pull request as ready for review March 1, 2026 08:50
@potiuk
potiuk merged commit 68b21ae into apache:main Mar 12, 2026
172 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SFTPOperator DELETE operation should not error if the file/directory is already absent

2 participants