apache-airflow-providers-trino

Package apache-airflow-providers-trino

Trino

Release: 4.2.0

Provider package

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

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-trino

Requirements

PIP package

Version required

apache-airflow

>=2.3.0

apache-airflow-providers-common-sql

>=1.3.0

pandas

>=0.17.1

trino

>=0.318.0

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

Dependent package

Extra

apache-airflow-providers-common-sql

common.sql

apache-airflow-providers-google

google

Downloading official packages

You can download officially released packages and verify their checksums and signatures from the Official Apache Download site

Changelog

4.2.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)

  • Bump Trino version to fix non-working DML queries (#27168)

Features

  • Add SQLExecuteQueryOperator (#25717)

4.1.0

Features

  • trino: Support CertificateAuthentication in the trino hook (#26246)

4.0.1

Features

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

Bug Fixes

  • Fix placeholders in 'TrinoHook', 'PrestoHook', 'SqliteHook' (#25939)

4.0.0

Breaking changes

Deprecated hql parameter has been removed in get_records, get_first, get_pandas_df and run methods of the TrinoHook.

  • Deprecate hql parameters and synchronize DBApiHook method APIs (#25299)

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)

  • Add test_connection method to Trino hook (#24583)

  • Add 'on_kill()' to kill Trino query if the task is killed (#24559)

  • Add TrinoOperator (#24415)

3.0.0

Breaking changes

2.3.0

Features

  • TrinoHook add authentication via JWT token and Impersonation  (#23116)

  • Make presto and trino compatible with airflow 2.1 (#23061)

Bug Fixes

2.2.0

Features

  • Pass X-Trino-Client-Info in trino hook (#22535)

2.1.2

Bug Fixes

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

2.1.1

Misc

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

2.1.0

Features

  • Add GCSToTrinoOperator (#21704)

Misc

  • Support for Python 3.10

2.0.2

Bug Fixes

  • Properly handle verify parameter in TrinoHook (#18791)

2.0.1

Misc

  • Optimise connection importing for Airflow 2.2.0

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.

1.0.0

Initial version of the provider.

Was this entry helpful?