apache-airflow-providers-jdbc
Changelog¶
4.2.0¶
Note
This release of provider is only available for Airflow 2.6+ as explained in the Apache Airflow providers support policy.
Misc¶
Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)Add configuration ref to "providers.jdbc" (#35580)
4.1.0¶
Note
This release of provider is only available for Airflow 2.5+ as explained in the Apache Airflow providers support policy.
Misc¶
Bump min airflow version of providers (#34728)
4.0.2¶
Misc¶
Improve modules import in Airflow providers by some of them into a type-checking block (#33754)
4.0.0¶
Note
This release dropped support for Python 3.7
Breaking changes¶
To configure driver parameters (driver path and driver class), you can use the following methods:
Supply them as constructor arguments when instantiating the hook.
Set the
driver_pathand/ordriver_classparameters in thehook_paramsdictionary when creating the hook using SQL operators.Set the
driver_pathand/ordriver_classextra in the connection and correspondingly enable theallow_driver_path_in_extraand/orallow_driver_class_in_extraoptions in theproviders.jdbcsection of the Airflow configuration.Patch the
JdbcHook.default_driver_pathand/orJdbcHook.default_driver_classvalues in thelocal_settings.pyfile.
Restrict direct usage of driver params via extras for JDBC connection (#31849)
3.4.0¶
Note
This release of provider is only available for Airflow 2.4+ as explained in the Apache Airflow providers support policy.
Misc¶
Bump minimum Airflow version in providers (#30917)
3.3.0¶
Note
This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.
Misc¶
Move min airflow version to 2.3.0 for all providers (#27196)
Features¶
In JdbcHook, non-prefixed extra fields are supported and are preferred. E.g. drv_path will
be preferred if extra__jdbc__drv_path is also present.
Allow and prefer non-prefixed extra fields for JdbcHook (#27044)Add SQLExecuteQueryOperator (#25717)
Bug Fixes¶
Bump common.sql provider to 1.3.1 (#27888)
3.2.0¶
Features¶
Adding configurable fetch_all_handler for JdbcOperator (#25412)Unify DbApiHook.run() method with the methods which override it (#23971)
3.0.0¶
Breaking changes¶
Note
This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy.
Features¶
Handler parameter from 'JdbcOperator' to 'JdbcHook.run' (#23817)
2.1.0¶
Features¶
Add more SQL template fields renderers (#21237)Add optional features in providers. (#21074)
2.0.1¶
Bug Fixes¶
Fix type annotations in OracleOperator, JdbcOperator, SqliteOperator (#17406)
Misc¶
Optimise connection importing for Airflow 2.2.0
2.0.0¶
Breaking changes¶
Auto-apply apply_default decorator (#15667)
Warning
Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+.
If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade
Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded
automatically and you will have to manually run airflow upgrade db to complete the migration.
1.0.1¶
Updated documentation and readme files.
1.0.0¶
Initial version of the provider.