dstandish opened a new issue, #58942:
URL: https://github.com/apache/airflow/issues/58942
### Body
Current state of partition-oriented cron trigger timetable tries to create
same run 2 times and crashes the scheduler due to uniqueness constraint
violation
On branch poc-asset-partitions
Dag
```
with DAG(
dag_id="run_a_lot_trigger",
schedule=CronTriggerTimetable("*/2 * * * *", timezone="UTC",
partitions=True),
tags=["partition_schedule"],
):
@task(outlets=[asset1])
def hooray(dag_run: DagRun = None):
time.sleep(1)
print(f"partition_key: {dag_run.partition_key}")
hooray()
```
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow
project.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]