Skip to main content

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

Project description

Package apache-airflow-providers-jdbc

Release: 4.0.0rc1

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.0rc1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for apache-airflow-providers-jdbc-4.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 8b2954ac4f4697ab28da432e2f44762cc78650c823a6e425db81b6d2fc25e4e5
MD5 657c998179abe44935e7c36b4d5071a2
BLAKE2b-256 0790e1caeb298e3806a891d25be188eb60bedf4b676059eb2455f1f5bdcd1f6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apache_airflow_providers_jdbc-4.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1528e108a1083e8298f161509cf04188fea8598838ba2deb4bd4ad2671f7927
MD5 8ecc6db3ce8e85f4707c55ad678c99e7
BLAKE2b-256 9a07c1c8fa7136d1c6230a7765a50893863051bac6710d2a37e67e786cae3ab3

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