环境: 1.8.2
airflow元数据库表: dag_run列: end_date
99% value of column end\_date : is null 1% value of column end\_date : is not null问:为什么?有什么想法/设置可以解决这种情况吗?
发布于 2018-02-12 07:15:46
看起来在设置dag运行结束日期的代码中只有两个点。当一个dag运行hits the timeout和当你运行set a dag run to failed/success in the UI时。
如果您想解决这个问题,我会查看DagRun类的update_state方法,并在运行被设置为终止状态时设置结束日期。当然,您应该向github提交一份PR和您的更改!
https://stackoverflow.com/questions/48727610
复制相似问题