Skip to main content

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

Project description

Package apache-airflow-providers-mysql

Release: 5.0.0

MySQL

Provider package

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

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

Requirements

PIP package

Version required

apache-airflow

>=2.3.0

apache-airflow-providers-common-sql

>=1.3.1

mysqlclient

>=1.3.6

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-mysql[amazon]

Dependent package

Extra

apache-airflow-providers-amazon

amazon

apache-airflow-providers-common-sql

common.sql

apache-airflow-providers-presto

presto

apache-airflow-providers-trino

trino

apache-airflow-providers-vertica

vertica

Changelog

5.0.0

Breaking changes

  • Remove mysql-connector-python (#30487)

4.0.2

Misc

  • Use MariaDB client binaries in arm64 image for support MySQL backend (#29519)

4.0.1

Bug Fixes

  • Fixed MyPy errors introduced by new mysql-connector-python (#28995)

4.0.0

Breaking Changes

You can no longer pass “local_infile” as extra in the connection. You should pass it instead as hook’s “local_infile” parameter when you create the MySqlHook (either directly or via hook_params).

  • Move local_infile option from extra to hook parameter (#28811)

3.4.0

Features

  • Allow SSL mode in MySQL provider (#27717)

Bug fixes

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

3.3.0

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

  • Add SQLExecuteQueryOperator (#25717)

3.2.1

Misc

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

3.2.0

Features

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

3.1.0

Features

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

Bug Fixes

  • Close the MySQL connections once operations are done. (#24508)

3.0.0

Breaking changes

2.2.3

Bug Fixes

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

2.2.2

Misc

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

2.2.1

Misc

  • Support for Python 3.10

  • Make DbApiHook use get_uri from Connection (#21764)

  • Update MySqlOperator example dag (#21434)

2.2.0

  • Add more SQL template fields renderers (#21237)

  • Add conditional 'template_fields_renderers' check for new SQL lexers (#21403)

Misc

  • Refactor vertica_to_mysql to make it more 'mypy' friendly (#20618)

2.1.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.1.0

Features

  • Added template_fields_renderers for MySQL Operator (#16914)

  • Extended template_fields_renderers for MySQL provider (#16987)

  • Parse template parameters field for MySQL operator (#17080)

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Bug Fixes

1.1.0

Features

  • Adds 'Trino' provider (with lower memory footprint for tests) (#15187)

  • A bunch of template_fields_renderers additions (#15130)

Bug fixes

  • Fix autocommit calls for mysql-connector-python (#14869)

1.0.2

Bug fixes

  • MySQL hook respects conn_name_attr (#14240)

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-mysql-5.0.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apache-airflow-providers-mysql-5.0.0.tar.gz.

File metadata

File hashes

Hashes for apache-airflow-providers-mysql-5.0.0.tar.gz
Algorithm Hash digest
SHA256 e5c0a364664953e532e4e0ac6d8587e4d4b5d7c41e781a2d0ee5a039428630c2
MD5 054731bb337993657dc98b8b884b05ef
BLAKE2b-256 38f2ed5939dc875349d55fcb650e537b889bace3611faf1fc834bb419d10d3f4

See more details on using hashes here.

Provenance

File details

Details for the file apache_airflow_providers_mysql-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_providers_mysql-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92e26fe0cd0aa433d4feb6a2a5c0e400b4e3b5974aaa73fb38e799a92615971e
MD5 d5d49b707624ec41d3e4f8ce865beb04
BLAKE2b-256 6943cadb286fa9bd24c4e7e27b4a660512d8f1face98c6bbd41400215be31e23

See more details on using hashes here.

Provenance

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