Proposal to Enhance WasbPrefixSensor with XCom Push for Blob Name Detection #50112
Unanswered
samuelkhtu
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Airflow Community,
I would like to propose an enhancement to the WasbPrefixSensor to include an XCom push feature that captures the names of the blobs detected. This enhancement would allow downstream tasks to easily access the list of detected blob names using XCom pull.
Current Functionality:
The WasbPrefixSensor currently detects the presence of blobs with a specified prefix in an Azure Blob Storage container. However, it does not provide a straightforward way to pass the names of these detected blobs to downstream tasks.
Proposed Enhancement:
XCom Push: Modify the WasbPrefixSensor to push the list of detected blob names to XCom.
XCom Key: Use a specific XCom key to store the list of blob names, making it easy for downstream tasks to retrieve this information.
Benefits:
Improved Data Flow: Downstream tasks can directly access the list of detected blob names, simplifying the workflow and reducing the need for additional custom operators or tasks to fetch this information.
Enhanced Flexibility: Users can leverage the detected blob names in various downstream tasks, such as processing the blobs, logging, or triggering further actions based on the blob names.
Example Usage:
Questions for the Community:
Do you find this enhancement useful for your workflows?
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions