Uh oh!
There was an error while loading. Please reload this page.
Return list of GCS URIs from Azure*ToGCS operators - #61048
Conversation
…r to return lists of GCS URIs instead of strings
shahar1
left a comment
There was a problem hiding this comment.
Almost there, please be careful :)
Uh oh!
There was an error while loading. Please reload this page.
Before approving and merging (as technically it looks good!) - I need some time to consider how we're going to handle it across the operators in terms of naming the "as_list" flag (should be more generic than If you have some insights about it, feel free to share. |
aaron-y-chen
commented
Jan 26, 2026
I was torn between |
shahar1
commented
Jan 27, 2026
I think that I'm good with this - |
aaron-y-chen
commented
Jan 27, 2026
Sounds good! Let me know once you've finished the survey :) |
OK, found it - we have unwrap_single for
I'll update the instructions in the original issue. |
988d333 to
cf297b2Compareaaron-y-chen
commented
Jan 31, 2026
Hi @shahar1, great proposal, thanks for digging up the precedent. One implementation detail: if we define it as How about putting the deprecation warning under the |
shahar1
commented
Feb 1, 2026
You could let it to be optional ( |
…r to use unwrap_single parameter for GCS URI returns; update tests accordingly
aaron-y-chen
commented
Feb 1, 2026
Thanks for the hint, the code looks much better now! I kept I tweaked the code to avoid a breaking change while staying more aligned with the other operator. I think it'll also be easier to remove in the future if we want to :) |
shahar1
left a comment
There was a problem hiding this comment.
Great work Aaron!
And good call regarding usage of return_gcs_uris where applicable.
I'll let Google team a couple of days to comment before merging.
@nailo2c are you able to run the system tests for the modified operators and attach screenshots that they pass? (maybe also a screenshot that shows the outputs) |
Hi @shahar1, sure :) but let me confirm the system tests are example_azure_blob_to_gcs.py and example_azure_fileshare_to_gcs.py, right? If so, here are the results: example_azure_blob_to_gcs.py
![]()
![]() ![]()
![]()
![]() example_azure_fileshare_to_gcs.py
![]()
Please let me know if there's anything else I can help with :) |
…nd trailing / required by _parse_gcs_url
shahar1
commented
Feb 7, 2026
Awesome! It seems that the system tests are indeed useful for detecting such "last minute" bugs. |
Uh oh!
There was an error while loading. Please reload this page.












Related: #11323
How
Refactor AzureBlobStorageToGCSOperator and AzureFileShareToGCSOperator to return lists of GCS URIs instead of strings.
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.