Return list of destination URIs from GCSToGCSOperator#61320
Merged
shahar1 merged 3 commits intoapache:mainfrom Feb 10, 2026
Merged
Return list of destination URIs from GCSToGCSOperator#61320shahar1 merged 3 commits intoapache:mainfrom
shahar1 merged 3 commits intoapache:mainfrom
Conversation
shahar1
approved these changes
Feb 1, 2026
Contributor
shahar1
left a comment
There was a problem hiding this comment.
Excellent work! LGTM.
Failing CI job seems unrelated - hopefully it should be fixed soon by another PR.
Please let me handle the rebase and merging, feel free to take on other issues.
I'll wait couple of days to give the chance for Google team to review.
14 tasks
7a33df9 to
3eaf7b0
Compare
81 tasks
Ratasa143
pushed a commit
to Ratasa143/airflow
that referenced
this pull request
Feb 15, 2026
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.
Related: #11323
Return value:
execute()now returns alist[str]of destination URIs for copied objects (single and multiple files). This operator did not return a value before, sounwrap_singlewas not added.Deduplication for multi-file copy: When multiple source paths map to the same destination (e.g.
source_objects=["src/foo.png", "src/data/"]withfoo.pngunderdata/), the same URI can appear more than once. The result list is deduplicated while preserving order viadict.fromkeys.Directory-like URIs excluded from return: If GCS
listreturns keys ending with/(e.g.prefix/), they are still copied, but such URIs are filtered out of the returned list so only file URIs are included.Test screenshot
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.