Apache Airflow version
main (development)
What happened
I currently have Airflow 2.2.3 and due to this issue I have tried to upgrade Airflow to this commit.
When I run airflow db upgrade I get the following error:
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade 587bdf053233 -> e655c0453f75, Add TaskMap and map_index on TaskInstance.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
cursor, statement, parameters, context
File "/usr/local/lib/python3.7/dist-packages/sqlalchemy/engine/default.py", line 608, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.NotNullViolation: column "map_index" of relation "task_instance" contains null values
The map_index column was introduced with this PR.
Could you please advise?
What you expected to happen
No response
How to reproduce
No response
Operating System
Ubuntu 18.04.6 LTS
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
Kubernetes
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
main (development)
What happened
I currently have Airflow 2.2.3 and due to this issue I have tried to upgrade Airflow to this commit.
When I run
airflow db upgradeI get the following error:The map_index column was introduced with this PR.
Could you please advise?
What you expected to happen
No response
How to reproduce
No response
Operating System
Ubuntu 18.04.6 LTS
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
Kubernetes
Anything else
No response
Are you willing to submit PR?
Code of Conduct