You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Airflow database upgrade fails with "psycopg2.errors.NotNullViolation: column "map_index" of relation "task_instance" contains null value"s #20876
Map Index hasn't been introduced in Airflow 2.2.3 and nor intended to, it is currently available in the main branch and will be released in Airflow 2.3. So it is very likely you somehow used some code from the main branch.
Activity
boring-cyborg commentedon Jan 14, 2022
Thanks for opening your first issue here! Be sure to follow the issue template!
kaxil commentedon Jan 14, 2022
Map Index hasn't been introduced in Airflow 2.2.3 and nor intended to, it is currently available in the main branch and will be released in Airflow 2.3. So it is very likely you somehow used some code from the main branch.
Check https://airflow.apache.org/docs/apache-airflow/stable/migrations-ref.html -- that migration isn't available in 2.2.3
Double verify by running the following:
dcardinha commentedon Jan 16, 2022
Thank you for your answer.
Yes, I was using the code from the main branch.
Is there an estimate as to when Airflow 2.3 will be released?
ashb commentedon Jan 17, 2022
@dcardinha Nothing firm, but our aim is "in about a month"