tirkarthi opened a new issue, #48432:
URL: https://github.com/apache/airflow/issues/48432

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   While trying to create a dag with same logical date this results in unique 
constraint error but the UI seems to display the sql query through 
`_UniqueConstraintErrorHandler` implementation which is not user friendly. It 
should say that the dagrun with logical_date exists which is more helpful.
   
   
![Image](https://github.com/user-attachments/assets/d435369b-1989-41a8-a633-b77b34da661a)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Run a dag with a logical_date in the UI.
   2. Run the dag again with same logical_date.
   
   
   
   ### Operating System
   
   Ubuntu 20.04.3
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to