Airflow Summit 2021 is coming July 8-16. Register now!

apache-airflow-providers-odbc

Package apache-airflow-providers-odbc

ODBC

Release: 2.0.0

Provider package

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

Installation

You can install this package on top of an existing airflow 2.1+ installation via pip install apache-airflow-providers-odbc

PIP requirements

PIP package

Version required

apache-airflow

>=2.1.0

pyodbc

Changelog

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.

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

Was this entry helpful?