Repository navigation
Fix S3ToAzureBlobStorageOperator failing on S3 folder markers - #76408
Merged
Merged
Conversation
yuseok89
force-pushed
the
s3-to-wasb-folder-markers
branch
from
November 4, 2026 02:58
90e5a77 to
b5af95c
Compare
yuseok89
marked this pull request as ready for review
November 5, 2026 04:48
o-nikolas
approved these changes
Nov 5, 2026
o-nikolas
left a comment
Contributor
There was a problem hiding this comment.
One nit, but otherwise looks good.
shahar1
enabled auto-merge (squash)
November 6, 2026 09:57
Open
2 tasks done
This was referenced Nov 23, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
S3ToAzureBlobStorageOperatorfails withInvalidKeyComponentswhens3_prefixhas its own folder marker, which the S3 console creates for every folder. Other folder markers are copied as empty blobs next to the files.This applies the overlap-aware rule from #65724, #72497 and #72892. Markers with other keys under them are skipped and logged, while a lone marker like
lonely/is kept.Before / After
Verified against real S3 and Azure Blob with
s3_prefix="folder", listingfolder/src/,folder/src/file.txtandfolder/lonely/.folder/folder/InvalidKeyComponentslonely/,src/,src/file.txtlonely/,src/file.txtlonely/,src/file.txtWas generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.