turbaszek commented on pull request #9563:
URL: https://github.com/apache/airflow/pull/9563#issuecomment-651078235
I did a test with no TI in db and now I think using merge is better because
it will create the TI like this:
```
[2020-06-29 12:11:54,824] {asserts.py:61} INFO - INSERT INTO task_instance
(task_id, dag_id, execution_date, start_date, end_date, duration, state,
try_number, max_tries, hostname, unixname, job_id, pool, pool_slots, queue,
priority_weight, operator, queued_dttm, pid, executor_config) VALUES
(%(task_id)s, %(dag_id)s, %(execution_date)s, %(start_date)s, %(end_date)s,
%(duration)s, %(state)s, %(try_number)s, %(max_tries)s, %(hostname)s,
%(unixname)s, %(job_id)s, %(pool)s, %(pool_slots)s, %(queue)s,
%(priority_weight)s, %(operator)s, %(queued_dttm)s, %(pid)s,
%(executor_config)s)
```
----------------------------------------------------------------
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]