zachliu commented on issue #49919:
URL: https://github.com/apache/airflow/issues/49919#issuecomment-2839135376

   @vatsrahul1001 Yes, I’m aware it has been deprecated and removed. That’s 
why, as I mentioned above, the workaround is to delete them from the database.
   ```sql
   DELETE FROM dag WHERE dag_id like '%example%' AND dag_id NOT IN (SELECT 
dag_id FROM serialized_dag)
   ```
   
   I'm thinking, as @potiuk suggested, we could either have better and more 
explicit messages in the logs, or even include the SQL statement directly in 
those log messages.


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