小编sun*_*ddy的帖子

在 apache 气流中初始化数据库时出错,下面是附加的错误,谢谢

##database 在 apache 气流中初始化。我已经在 linux 中使用 python 3.8 版本安装了 apache 气流。在运行气流命令时,它会显示版本名称。在气流中初始化数据库时发生错误。解释下面的错误和解决方案,谢谢

/home/hduser/apache_airflow/venv/lib/python3.6/site-packages/sqlalchemy/orm/relationships.py:3463 SAWarning: relationship 'DagRun.serialized_dag' will copy column serialized_dag.dag_id to column dag_run.dag_id, which conflicts with relationship(s): 'TaskInstance.dag_run' (copies task_instance.dag_id to dag_run.dag_id), 'DagRun.task_instances' (copies task_instance.dag_id to dag_run.dag_id). If this is not the intention, consider if these relationships should be linked with back_populates, or if viewonly=True should be applied to one or more if they are read-only. For the less common case that foreign key constraints are partially overlapping, the orm.foreign() annotation …
Run Code Online (Sandbox Code Playgroud)

linux python-3.x centos7 airflow

5
推荐指数
2
解决办法
651
查看次数

标签 统计

airflow ×1

centos7 ×1

linux ×1

python-3.x ×1