Skip to content

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

Open
Eason09053360 wants to merge 1 commit intoapache:mainfrom
Eason09053360:Fix-Make-SFTPOperator-delete-idempotent
Open

Fix make SFTPOperator delete idempotent (return a warning instead of a error when file is already absent)#62639
Eason09053360 wants to merge 1 commit intoapache:mainfrom
Eason09053360:Fix-Make-SFTPOperator-delete-idempotent

Conversation

@Eason09053360
Copy link
Contributor

@Eason09053360 Eason09053360 commented Feb 28, 2026

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
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

1 participant