You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Vamsi-klu (via GitHub)" <gi...@apache.org> on 2026/08/23 06:23:01 UTC
[PR] Add partition_key to Metadata so yield matches outlet_events [airflow]
Vamsi-klu opened a new pull request, #71993:
URL: https://github.com/apache/airflow/pull/71993
`yield Metadata(...)` and `outlet_events[asset].add_partitions(...)` now agree on partition keys. Extra is never treated as a key. `Metadata.partition_key` is recorded on the concrete asset accessor. Events emitted only through an alias still use the producing Dag run's partition key.
closes: #69117
Independent of #54659 / #56050.
## Test plan
- [x] `pytest task-sdk/tests/task_sdk/execution_time/test_callback_runner.py` (9 passed)
- [x] mapped Metadata vs extra-only scheduler coverage already in the branch
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Cursor Grok 4.6
Generated-by: Cursor Grok 4.6 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
Made with [Cursor](https://cursor.com)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add partition_key to Metadata so yield matches outlet_events [airflow]
Posted by "Vamsi-klu (via GitHub)" <gi...@apache.org>.
Vamsi-klu closed pull request #71993: Add partition_key to Metadata so yield matches outlet_events
URL: https://github.com/apache/airflow/pull/71993
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add partition_key to Metadata so yield matches outlet_events [airflow]
Posted by "Vamsi-klu (via GitHub)" <gi...@apache.org>.
Vamsi-klu commented on PR #71993:
URL: https://github.com/apache/airflow/pull/71993#issuecomment-5384603516
cc @dstandish @jroachgolf84 @ashb @kaxil @Lee-W @uranusjr — Metadata.partition_key so yield matches outlet_events.add_partitions.
---
Drafted-by: Cursor Grok 4.6 (no human review before posting)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org