【发布时间】:2022-06-16 19:17:47
【问题描述】:
我正在尝试安装气流,当我尝试创建数据库或独立运行时出现此错误。我尝试更改 sqlalchemy 的版本,但没有成功。
操作系统:manjaro | sqlalchemy 版本:1.4 | 气流版本:2.3.0
standalone | Starting Airflow Standalone
standalone | Checking database is initialized
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, Add
sqlite3.OperationalError: duplicate column name: operator
The above exception was the direct cause of the following exception:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: operator
[SQL: ALTER TABLE task_instance ADD COLUMN operator VARCHAR(1000)]
(Background on this error at: http://sqlalche.me/e/14/e3q8)
有什么办法解决吗?
【问题讨论】:
-
你可以在这个链接stackoverflow.com/questions/56988054/…找到答案
标签: python python-3.x sqlalchemy airflow