-
Notifications
You must be signed in to change notification settings - Fork 18k
Add partition_key to Context #65340
Copy link
Copy link
Closed
Labels
affected_version:3.2Use for reporting issues with 3.2Use for reporting issues with 3.2area:corekind:featureFeature RequestsFeature Requestsneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Activity
Metadata
Metadata
Assignees
Labels
affected_version:3.2Use for reporting issues with 3.2Use for reporting issues with 3.2area:corekind:featureFeature RequestsFeature Requestsneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Add asset partitioning's
partition_keytoairflow.sdk.definitions.context.Context.Use case/motivation
In asset partitioning the partition key replaces the role of the data interval. While
CronPartitionTimetabledoesn't have a data interval anymore, users who instead want to work with the partition key need to access the partition key via the task's dagrun:instead of directly accessing it via the context:
Related issues
No response
Are you willing to submit a PR?
Code of Conduct