Skip to main content

Provider for Apache Airflow. Implements apache-airflow-providers-jdbc package

Project description

Package apache-airflow-providers-jdbc

Release: 4.0.0

Java Database Connectivity (JDBC)

Provider package

This is a provider package for jdbc provider. All classes for this provider package are in airflow.providers.jdbc python package.

You can find package information and changelog for the provider in the documentation.

Installation

You can install this package on top of an existing Airflow 2 installation (see Requirements below for the minimum Airflow version supported) via pip install apache-airflow-providers-jdbc

The package supports the following python versions: 3.8,3.9,3.10,3.11

Requirements

PIP package

Version required

apache-airflow

>=2.4.0

apache-airflow-providers-common-sql

>=1.3.1

jaydebeapi

>=1.1.1

Cross provider package dependencies

Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.

You can install such cross-provider dependencies when installing from PyPI. For example:

pip install apache-airflow-providers-jdbc[common.sql]

Dependent package

Extra

apache-airflow-providers-common-sql

common.sql

Changelog

4.0.0

Breaking changes

To configure driver parameters (driver path and driver class), you can use the following methods:

  1. Supply them as constructor arguments when instantiating the hook.

  2. Set the “driver_path” and/or “driver_class” parameters in the “hook_params” dictionary when creating the hook using SQL operators.

  3. Set the “driver_path” and/or “driver_class” extra in the connection and correspondingly enable the “allow_driver_path_in_extra” and/or “allow_driver_class_in_extra” options in the “providers.jdbc” section of the Airflow configuration.

  4. Patch the “JdbcHook.default_driver_path” and/or “JdbcHook.default_driver_class” values in the “local_settings.py” file.

  • Restrict direct usage of driver params via extras for JDBC connection (#31849)

3.4.0

Misc

  • Bump minimum Airflow version in providers (#30917)

3.3.0

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

Misc

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

3.2.0

Features

  • Adding configurable fetch_all_handler for JdbcOperator (#25412)

  • Unify DbApiHook.run() method with the methods which override it (#23971)

3.1.0

Features

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

3.0.0

Breaking changes

Features

  • Handler parameter from 'JdbcOperator' to 'JdbcHook.run' (#23817)

2.1.3

Bug Fixes

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

2.1.2

Misc

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

2.1.1

Misc

  • Support for Python 3.10

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)

1.0.1

Updated documentation and readme files.

1.0.0

Initial version of the provider.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache-airflow-providers-jdbc-4.0.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apache-airflow-providers-jdbc-4.0.0.tar.gz.

File metadata

File hashes

Hashes for apache-airflow-providers-jdbc-4.0.0.tar.gz
Algorithm Hash digest
SHA256 652ab92eb3ecafde41b1b4c72f6c041e74397cf5911a97a0b679f3e952ef7a6f
MD5 1b2e7599a602a745b7a7016838a1739c
BLAKE2b-256 5f76417d7207d90e100aeeeef0b3a184c363c852fcfe3bc64db6cc3160512fa3

See more details on using hashes here.

File details

Details for the file apache_airflow_providers_jdbc-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_providers_jdbc-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9351dcdbd4985d985d6ef55d34b276cc580d43936554f8a95c80a2174f613b86
MD5 2740a256253f03418c544089767d157f
BLAKE2b-256 ee15c6da47ac4743f497d948d2bb9494ca77fcf776a9d466ba1a0fd2fb8e7330

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page