tylermichael commented on issue #11882:
URL: https://github.com/apache/airflow/issues/11882#issuecomment-735893235
I found this error in the logs for my subdag task. I'm not sure if they are
linked but I thought I'd put it here anyway.
```
ERROR - can't compare offset-naive and offset-aware datetimes
Traceback (most recent call last):
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/models/taskinstance.py",
line 984, in _run_raw_task
result = task_copy.execute(context=context)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/operators/subdag_operator.py",
line 102, in execute
executor=self.executor)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/models/dag.py", line
1432, in run
job.run()
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/jobs/base_job.py",
line 218, in run
self._execute()
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/db.py", line
74, in wrapper
return func(*args, **kwargs)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/jobs/backfill_job.py",
line 787, in _execute
session=session)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/db.py", line
70, in wrapper
return func(*args, **kwargs)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/jobs/backfill_job.py",
line 703, in _execute_for_run_dates
dag_run = self._get_dag_run(next_run_date, session=session)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/db.py", line
70, in wrapper
return func(*args, **kwargs)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/jobs/backfill_job.py",
line 322, in _get_dag_run
run.verify_integrity(session=session)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/db.py", line
70, in wrapper
return func(*args, **kwargs)
File
"/home/airflow/.local/lib/python3.6/site-packages/airflow/models/dagrun.py",
line 394, in verify_integrity
if task.start_date > self.execution_date and not self.is_backfill:
TypeError: can't compare offset-naive and offset-aware datetimes
```
----------------------------------------------------------------
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]