У меня airflow v1.8.2 и я пытался перейти на v1.10.3
После обновления я запускаю команду
airflow upgradedb
и получите ошибку:
...
File "/opt/nio/lib/airflow/sqlalchemy/engine/default.py", line 536, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) column
dag.description does not exist
LINE 1: ...fileloc AS dag_fileloc, dag.owners AS dag_owners,
dag.descri...
^
[SQL: 'SELECT dag.dag_id AS dag_dag_id, dag.is_paused AS dag_is_paused,
dag.is_subdag AS dag_is_subdag, dag.is_active AS dag_is_active,
dag.last_scheduler_run AS dag_last_scheduler_run, dag.last_pickled AS
dag_last_pickled, dag.last_expired AS dag_last_expired,
dag.scheduler_lock AS dag_scheduler_lock, dag.pickle_id AS
dag_pickle_id,
dag.fileloc AS dag_fileloc, dag.owners AS dag_owners, dag.description
AS dag_description, dag.default_view AS dag_default_view,
dag.schedule_interval AS dag_schedule_interval \nFROM dag \nWHERE
dag.dag_id = %(dag_id_1)s \n LIMIT %(param_1)s'] [parameters:
{'dag_id_1': u'custom_feeds_unit_dna', 'param_1': 1}] (Background on
this error at: http://sqlalche.me/e/f405)
Почему не удается обновить базу данных?
Должен ли я сначала обновиться до версии 1.0.0 airflow, а не до версии 1.1.3?