【问题标题】:enable Alter of constraints in airflow 2.0? Im getting "No support for Alter of constraints in SQLite dialect" when running Airflow initdb在气流 2.0 中启用约束更改?运行 Airflow initdb 时,我得到“不支持 SQLite 方言中的约束更改”
【发布时间】:2021-01-21 12:44:40
【问题描述】:

airflow 2.0 中的 Airflow db init 命令

引用我收到以下错误 - SQLite 方言中不支持更改约束

【问题讨论】:

    标签: sqlite airflow-scheduler airflow dialect


    【解决方案1】:

    这取决于您在 Airflow 2.0.0 中使用的 SQLite 版本。 Airflow 至少需要 3.15.0 的 SQLite

    https://github.com/apache/airflow#requirements

    【讨论】:

    • 我检查了 sqlite 版本。 3.7 17
    • 能不能升级到3.15.0,试试看
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-08-11
    • 2023-03-04
    • 2022-12-05
    • 2013-11-11
    • 2016-06-11
    • 1970-01-01
    • 2021-12-20
    相关资源
    最近更新 更多