Skip to main content

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

Project description

Package apache-airflow-providers-odbc

Release: 4.0.0

ODBC

Provider package

This is a provider package for odbc provider. All classes for this provider package are in airflow.providers.odbc 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-odbc

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

pyodbc

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-odbc[common.sql]

Dependent package

Extra

apache-airflow-providers-common-sql

common.sql

Changelog

4.0.0

Breaking changes

The driver parameter has to be passed via keyword driver argument when initializing the Hook or via hook_params dictionary (with driver key) when instantiating Hook from SQL Operators. It was possible to instantiate it via extras before, but in this version, only setting it via constructor is supported.

  • Disable setting ODBC driver via extra by default (#31713)

Bug Fixes

  • Check if sqlalchemy_scheme extra contains forbidden characters (#31984)

Misc

  • Control permissibility of driver config in extra from airflow.cfg (#31754)

3.3.0

Misc

  • Bump minimum Airflow version in providers (#30917)

3.2.1

Bug Fixes

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

3.2.0

Misc

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

3.1.2

Misc

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

3.1.1

Bug Fixes

  • Fix odbc hook sqlalchemy_scheme docstring (#25421)

3.1.0

Features

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

3.0.0

Breaking changes

2.0.4

Bug Fixes

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

2.0.3

Misc

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

2.0.2

Misc

  • Support for Python 3.10

2.0.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

  • OdbcHook returns None. Related to #15016 issue. (#15510)

    When you pass kwargs to the connection (for example autocommit and ansi) in connect_kwargs extra you should bass those as booleans. Previously strings were also supported.

"connect_kwargs": {
   "autocommit": "false",
   "ansi": "true"
}

should become

"connect_kwargs": {
   "autocommit": false,
   "ansi": true
}

Bug Fixes

  • Fix OdbcHook handling of port (#15772)

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-odbc-4.0.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_airflow_providers_odbc-4.0.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for apache-airflow-providers-odbc-4.0.0.tar.gz
Algorithm Hash digest
SHA256 9aecef08d5effeeebccb41b22dd339b762fe04ea73f3d3c7dbe3047f4c4eee3b
MD5 1487a9037ca2fc574d0f6012da5e7e44
BLAKE2b-256 45b75da6b639d8f814a315986db427fc49cb01d629d91a7394d54ce5f24c5de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apache_airflow_providers_odbc-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04c5bbe0e0722f1e59da81a459ef1e75adee0caa027f9af1be6454e7155009d4
MD5 e024d3bbb5abbe56d74ecc394324612d
BLAKE2b-256 f3f8494a8e1fd90bab81089ad35645c7f82dced0303736fc01d92cb89bb3e756

See more details on using hashes here.

Supported by

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