apache-airflow-providers-odbc
變更日誌¶
4.9.0¶
注意
此供應商版本僅適用於 Airflow 2.9+,如 Apache Airflow 供應商支援政策 中所述。
雜項¶
Bump minimum Airflow version in providers to Airflow 2.9.0 (#44956)
4.8.0¶
功能¶
refactor: OdbcHook must use it's own connection when creating a sqlalchemy engine (#43145)
4.7.0¶
注意
此供應商版本僅適用於 Airflow 2.8+,如 Apache Airflow 供應商支援政策 中所述。
雜項¶
Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)
4.6.0¶
注意
此供應商版本僅適用於 Airflow 2.7+,如 Apache Airflow 供應商支援政策 中所述。
錯誤修正¶
Always use the executemany method when inserting rows in DbApiHook as it's way much faster (#38715)
雜項¶
Bump minimum Airflow version in providers to Airflow 2.7.0 (#39240)
4.4.1¶
錯誤修正¶
Fix ODBC Hook sql select return empty table (#36709)
Rename columns to valid namedtuple attributes + ensure Row.fields are retrieved as tuple (#36949)
4.4.0¶
功能¶
Make "placeholder" of ODBC configurable in UI (#36000)
錯誤修正¶
Return common data structure in DBApi derived classes
4.3.0¶
注意
此供應商版本僅適用於 Airflow 2.6+,如 Apache Airflow 供應商支援政策 中所述。
錯誤修正¶
Fix: Implement support for 'fetchone()' in the ODBCHook and the Databricks SQL Hook (#36161)
雜項¶
Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)
4.2.0¶
功能¶
Make pyodbc.Row and databricks.Row JSON-serializable via new 'make_serializable' method (#32319)
4.1.0¶
注意
此供應商版本僅適用於 Airflow 2.5+,如 Apache Airflow 供應商支援政策 中所述。
雜項¶
Bump min airflow version of providers (#34728)
4.0.0¶
注意
此版本已移除對 Python 3.7 的支援
重大變更¶
當初始化 Hook 時,驅動程式參數必須透過關鍵字 driver
引數傳遞,或當從 SQL 運算子實例化 Hook 時,透過 hook_params
字典(帶有 driver
鍵)傳遞。 以前可以透過 extras 實例化它,但在這個版本中,僅支援透過建構函式設定它。
Disable setting ODBC driver via extra by default (#31713)
錯誤修正¶
Check if sqlalchemy_scheme extra contains forbidden characters (#31984)
雜項¶
Control permissibility of driver config in extra from airflow.cfg (#31754)
3.3.0¶
注意
此供應商版本僅適用於 Airflow 2.4+,如 Apache Airflow 供應商支援政策 中所述。
雜項¶
Bump minimum Airflow version in providers (#30917)
3.2.0¶
注意
此供應商版本僅適用於 Airflow 2.3+,如 Apache Airflow 供應商支援政策 中所述。
雜項¶
Move min airflow version to 2.3.0 for all providers (#27196)
3.0.0¶
重大變更¶
注意
此供應商版本僅適用於 Airflow 2.2+,如 Apache Airflow 供應商支援政策 中所述。
2.0.0¶
重大變更¶
Auto-apply apply_default decorator (#15667)
警告
由於移除了 apply_default 裝飾器,此供應商版本需要 Airflow 2.1.0+。如果您的 Airflow 版本低於 2.1.0,並且您想要安裝此供應商版本,請先將 Airflow 升級至至少 2.1.0 版本。否則,您的 Airflow 套件版本將自動升級,並且您必須手動執行 airflow upgrade db
以完成移轉。
OdbcHook returns None. Related to #15016 issue. (#15510)
當您在
connect_kwargs
extra 中將 kwargs 傳遞給連線(例如autocommit
和ansi
)時,您應該將這些作為布林值傳遞。 以前也支援字串。
"connect_kwargs": {
"autocommit": "false",
"ansi": "true"
}
應該變成
"connect_kwargs": {
"autocommit": false,
"ansi": true
}
錯誤修正¶
Fix OdbcHook handling of port (#15772)
1.0.1¶
更新了文件和 readme 檔案。
1.0.0¶
供應商的初始版本。