I have a DAG that was turned off for a while as it was broken. Once I got around to deploying the fixed version, I ran a backfill (using mark-success, as the underlying need was getting solved by other means), which resulted in a tree view showing all the tasks as complete, but without creating dag runs for the backfilled dates.
I tried using backfill, using trigger_dag, and waiting for the scheduler, but it seems nothing will mark these dag runs as success. When I click one of the white dag_run squares, I see the "mushroom cloud" page, with a message saying
DataError: (psycopg2.DataError) invalid input syntax for integer: "undefined"
LINE 3: WHERE dag_run.id = 'undefined'
I've also tried restarting the webserver and scheduler. Any idea what to do here? Airflow version is 1.6.2
Thanks,
Johnny