ksumanth commented on pull request #6317: URL: https://github.com/apache/airflow/pull/6317#issuecomment-857126194
@BasPH I am in same boat. We use the run_id to identify the runs and when there are so many runs, it is very useful. It is particularly useful in Tree View where the run_id shows up in the hover of the run without having to go somewhere else. Why couldn't the run_id be added as a parameter? > > > @BasPH > > > Setting DAG Run ids via the old TriggerDagRunOperator feels like one big hack. Both from a code perspective (the Python callable to provide is odd to read), and a logical perspective (I don't think it's desirable to have users edit the run id). > > To understand your use case, I'd like to know how exactly you're searching for patient-specific DAG runs? > > I don't think so, TriggerDagRunOperator should allow a user to set the RUN_ID the same way airflow cli allow the user to set run id using i.e `airflow dags trigger --run-id`. > > In my case, I use the TriggerDagRunOperator to trigger 30K dagrun daily and will be so annoying to see them having unidentifiable run_id. > > Could you please look into this again. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
