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.1

雜項

  • Add support for semicolon stripping to DbApiHook, PrestoHook, and TrinoHook (#41916)

4.8.0

功能

  • refactor: OdbcHook must use it's own connection when creating a sqlalchemy engine (#43145)

4.7.1

雜項

  • Generalize caching of connection in DbApiHook to improve performance (#40751)

4.7.0

注意

此供應商版本僅適用於 Airflow 2.8+,如 Apache Airflow 供應商支援政策 中所述。

雜項

  • Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)

4.6.3

雜項

  • Clean up remaining getattr connection DbApiHook (#40665)

4.6.2

雜項

  • implement per-provider tests with lowest-direct dependency resolution (#39946)

4.6.1

雜項

  • Faster 'airflow_version' imports (#39552)

  • Simplify 'airflow_version' imports (#39497)

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.5.0

功能

  • Make 'placeholder' of DbApiHook configurable in UI (#38528)

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.1

錯誤修正

  • Bump common.sql provider to 1.3.1 (#27888)

3.2.0

注意

此供應商版本僅適用於 Airflow 2.3+,如 Apache Airflow 供應商支援政策 中所述。

雜項

  • Move min airflow version to 2.3.0 for all providers (#27196)

3.1.2

雜項

  • Add common-sql lower bound for common-sql (#25789)

3.1.1

錯誤修正

  • Fix odbc hook sqlalchemy_scheme docstring (#25421)

3.1.0

功能

  • Move all SQL classes to common-sql provider (#24836)

3.0.0

重大變更

注意

此供應商版本僅適用於 Airflow 2.2+,如 Apache Airflow 供應商支援政策 中所述。

2.0.4

錯誤修正

  • Fix mistakenly added install_requires for all providers (#22382)

2.0.3

雜項

  • Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)

2.0.2

雜項

  • Support for Python 3.10

2.0.1

雜項

  • Optimise connection importing for Airflow 2.2.0

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 傳遞給連線(例如 autocommitansi)時,您應該將這些作為布林值傳遞。 以前也支援字串。

"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

供應商的初始版本。

此條目是否有幫助?